I think the Airline in your country where you fly from will want to see that onward ticket before you board the plane. However you can take a chance I can’t see you having any problems at Thai immigration good luck anyway
You will need a on-ward flight to prove you are going to travel and not stay longer then one month. You can check out onward ticket.com should you wish to stay longer then one month