In my country gambling is not legal, but still there are so many people who are running physical casino, although it is difficult because they have to face the law and forces agencies, it is rather easy to run a online casino where the government cannot stop you so easily.
In my country gambling is only illegal in public places. There are the right places where you can gamble but you're not allowed to just gamble on the streets. I think the same thing is what's going on in your country since there will no physical casino if gambling is totally banned. I think it's the government's way to accumulate all of the taxes from gambling instead of having to go through small scale gambling casinos.
it is rather easy to run a online casino where the government cannot stop you so easily.
While that is true and that will definitely allow you to bypass the government, being an anonymous owner of a gambling site will raise so much issues. There are players that are looking for the details of the casino especially when it's online. But the ones that will expose your lack of license and that gambling is illegal in your jurisdiction are online casino review sites. And that will take away a huge portion of your players since why would they want to play in a gambling site that's run by an anonymous owner when there are thousands of other gambling sites that are similar to you but have a license.
The players like staying anonymous but they don't like the owner staying anonymous. So it wouldn't be as easy as you thought it would be. It's one thing to open up an online casino but it's another thing to make people play on your casino.