Salary workers will still receive their paycheck even while on travel/holiday/vacation. Are they violating tourist visa restrictions? If a person checks their work email while on a tourist visa?
It's not realistic to expect a one-man internet company to be anywhere for longer than a few days without 'working' in a way or another.
Are you a rich, white professional class person with a first-world passport? You have signalled that no one needs to bother with you. Things like visa regulations will be applied less strictly.
If you are from the wrong country or you are the wrong skin tone, your chances of having a bad time are much higher.
This applies not only to Japan, or countries like Thailand or Mexico, but also to the USA and Europe equally.
There are thousands of people who run digital companies and travel all the time, including people who literally travel full-time as digital nomads with zero issues whatsoever.
I can almost guarantee you that if you left the EU and "accidentally" made money via your website you would have no trouble coming and going given that I literally know and have met people all over outside of the EU, who are from the EU and do exactly this.
Even in just this past week I've met like 3 people from the EU travelling full-time who run their own bussiness online while I'm located here in South America.
It's entirely possible if I needed a visa for some of the countries I've been to, I might have needed a business visa of some sort for customer meetings etc. But I've very rarely needed to get a visa for countries I've traveled to.
The US does seem to have a different visa for temporary business activities.
The bigger issue is that actually having a vacation where you don't work is unrealistic if you run a business by yourself, but is what the letter of the law demands for most tourist visas.
(Yes I know, nobody will ever know)
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.
When I was in Thailand years ago a coffee shop was raided, and I heard some bad experiences of people being to stupid about their visa forms.
I never had issues myself, but it's not exactly unheard of.
About the visas people just were really stupid to be honest about their income (or lack of)
Imagine you sell digital products automated or something like that. You would have to literally shut your website down if you go somewhere on a tourist visa so you don't accidently make money.
You might think there are exceptions, but no there usually aren't.
And now imagine you actually live from a digital business you run yourself. You literally can't travel on a tourist visa.
I can't legally leave the EU, more or less, as I have no control when and where I earn money. I also wouldn't travel so far for just a month or two so this is really speaking to me :)