I think no because if a nuclear bomb hits, it would create nuclear dust, which would prevent people from using solar energy, and there would be further shortages of energy as a result. The biggest problem with Bitcoin itself is that it uses a Proof-of-Work consensus mechanism, which consumes a huge amount of energy.