It absolutely fucking is. Governments are cunts. You specified mining though, there's little they can do about that. They can regulate it, of course, but miners will just move their rigs!
Discussion
The big mega miners can’t move though.. they’re publicly traded, govt-regulated companies. Their shareholders will require them to comply.