Governments can do it or try to do it if they want to but to succeed, they must provide solid reasons to ban Bitcoin mining.
Honestly, I don't believe they can provide solid reasons behind their decision. Their citizens are not stupid and in free world, people can have access to multiple resources, governmental and non-governmental so that they can not what governments want to shill is not true.
Bitcoin mining industry contributes to carbon emission so it has effects on Climate change. However, if governments say they must ban Bitcoin mining because of it, just to reduce impact on Climate change, that is not convincing. If they care about Climate change, they should ban other industries that emit more carbon and green house gas than Bitcoin mining.
The
latest report from Bitcoin Mining Council does not support governments.