@taiyo Yeah that's a real thing. I know some countries having this kind of visa, such as Estonia, Iceland, and Costa Rica. Some of them are called "freelance visa", but they're basically the same thing.
To apply for those visa, you usually have to prove you have a lot of money to support yourself, or to prove you have high monthly income from your clients.
by high I mean something like USD $2000+ per month...