You can do DTV as a remote worker. There is a Facebook group for it. You have to apply on a Thai embassy and obviously outside Thailand. It’s gives you 5 years and you’ll have to leave the kingdom or make extension every 180 days.
They gave me hard time in Tel Aviv beginning of August although I had all documents as a remote worker. I ended doing it in Taipei which was a much better experience.