If I come to Thailand on a tourist visa can I convert to a STV visa while I’m in Thailand?
No.
The Special Tourist Visa can only be applied for and received in your home country.
Please check the Thai Consulate website in your city for the details.