In general, it is legal to work remotely in Thailand, unless your clientele/employer are Thai. The purpose of the law [1] was to prevent foreign workers from displacing native Thai workers, and "digital nomads" do nothing of the sort.
This becomes clear if you pay attention to the punishments imposed by the law; they concern Thai employers, not the alien workers, alone.
This becomes clear if you pay attention to the punishments imposed by the law; they concern Thai employers, not the alien workers, alone.
[1]: http://www.thailandlawonline.com/translations/foreign-employ...