I think the best solution would be to properly tax carbon. That way Bitcoin miners would either become unprofitable or move to greener energy.
I don't think it's a good idea to establish the precedent that gov't can decide what you can and cannot do with your energy. You may think it's a waste of energy, but if the externality is properly taxed, I don't see the problem with letting it continue
Why not just ban smartphones in school? There's ample research now that they're harmful to teen mental health