You could tax mining. Sure, this won't stop private miners, but it is impossible to hide a big mining operation, if you are using the public grid. Most of them are using their own solar anyway, so I am not sure what all this fuss is about.
They would not tax mining/crypto though, because gov is interested in it. And it would be sold to people like "freedom" (but would be used by people who has a lot of money for speculation/tax avoidance).