Yeah you can just fly to Chiang Mai with your laptop and work from a coffee shop and no ones likely to care. Because you’re one person.
Setting up a company in another country is hard and often expensive. It’s hard to imagine how the business you describe wouldn’t come under the scrutiny of local immigration and/or labour officials, and face legitimate legal barriers and/or expectations of bribes (obviously depending on the nature of governments where you chose).