Yes it I possible!
You can get the marriage visa once you arrive in Thailand, even on the tourist visa. Please be aware of the requirements for the marriage visa.
Live your best life in Thailand. Get help with Visas, accomodation, itineraties, retirement, dating and anything else in Thailand.