can be done anywhere that has an Thai embassy or consulate but you are required to be in that country from time of application to approval. I'm USA citizen, and applied in Taipei.
I submitted Schedule C and local city business tax form. Screenshot from website, CV, and remittances records. No corporate identity as Sole Proprietorship.