I mean, yes that would be one way. But apart from that, they don't need to find every last one. Nobody cares about a miner making $0.5 per day on their GPU. The target is the big mining farms drawing multiple megawatts of electricity and you can just ask the power company for the address of anyone using that much electricity. There can't be _that_ many of them, so just visit them all and see if they are running a legit power-intensive business like a metal foundry or if it is a crypto mining farm.
Bottom of the line is always going to be if you can exchange crypto for goods. If most people feel that the crypto is worthless, the value will plunge and the buyer pool will as well.
How hard could it be for the Chinese government to identify suspiciously large amounts of power use? Malaysia of all places recently managed to seize and destroy around a thousand bitcoin mining rigs.