I think a couple dozen countries offer digital nomad visas now, the ones I've looked into in detail just require you to be employed remotely by a company outside the country and earn at least a couple thousand USD per month.
I do wonder which country would in effet cause troubles to travellers on a tourist visa, contributing to the local economy by renting a temporary home and other living expenses but happen to be working on their laptop every day of their 90 days trip.
they would cause trouble to the company though. And the company would have troubles with the country where they are tax residents