Has anyone studied the legality of mining taxes? In which countries can you officially mine, pay taxes and sleep peacefully?
Just look at which countries have fully legalized cryptocurrency. As of today, cryptocurrency is fully legalized in 15 countries. These are Belarus, Canada, Germany, Canada, El Salvador, Germany, Italy, Malta, Norway, Spain, El Salvador, USA, Ukraine, Philippines, Spain, Czech Republic, Switzerland, Estonia, Japan. And if cryptocurrency is fully legalized, it means that cryptocurrency mining is also allowed. Please, pay taxes and do mining for health

I think so.
P.S. You know Russian, you can read it yourself
here.
Germany, Italy, Malta, Norway, Spain, Czech Republic, Switzerland, Estonia. These countries have very expensive electricity. There is no tax on mining in Russia, but not in all regions it is profitable. I am sure that you will not be able to sleep well in the mining business, because in many countries laws change as soon as there are a lot of miners.