I don’t think governments will take such a step, because enforcing it would be very difficult and costly. Forcing all miners to use only solar energy could immediately reduce production and even affect the economy. However, a gradual shift toward renewable energy is possible, but it is unlikely that governments will impose such a strict rule all of a sudden.