But can this ban somehow affect bitcoin? Unlikely, given that there are only about two million bitcoins left to mine. Bitcoin will be able to function with the already issued amount of bitcoins.
Minting new bitcoins is a secondary thing, without miners you don't have confirmations, and without enough miners, you don't have security.
Luckily the price of gear is still over the top and still, revenues per TH/s are still higher than back in 2020, but if things really start to get worse, like it going around 15k you will see a lot of offline gear that can be sold for cheap to guys with not so good intentions. This is my only fear when it comes to bitcoin, and reducing the regions where power is cheap one by one also plays into a dangerous scenario as it will be less and less hash rate guarding the network.
That being said, it's funny how despite my post with the actual law being the second one on this topic 5 pages later and people still think NY is banning bitcoin mining.