Short answer is: YES and NO
Yes, if you live in a country wherein crypto is being taxed by l.aw
No, if you are in a country who doesn't tax crypto.
So before you start in your crypto investments make sure that you know how your country treats crypto first. Is crypto even legal in your country? there are some countries who started banning crypto all together so make sure that this is not the case in you country. Is crypto mining allowed in your country? there are countries wherein you can invest on crypto but mining is illegal so make sure to check this out too.
It is not just the taxes that matters in crypto but other laws being imposed by your country about it.