I mean sure, but the chances of that ever being enforced are close to 0. I'm a full time digital nomad for over a year in various latin american countries, always on tourist visas. Nobody notices or cares.
The only time I ever had an issue is when entering the united states, the immigration department gave me a grilling because my passport showed that I was clearly a nomad and they expected me to be working online.
Go ahead, take that holiday.