However it may be that in an Evisa or paper application they will want a fully paid up return flight to your home country with the ticket submitted in the application.
Ideally you should come back in on a proper longterm visa if you intend staying in Thailand. If you try to come back in on a 45 visa exempt they will want an exit ticket from Thailand within that 45 days the same with a 60 day tourist visa.