Is it possible to “glass” a planet?

We all know that sand can turn into glass at extreme temperatures. And when they did the trinity test, the ground was turned to glasses. So, what if the entire planet were glasses? Would it be possible, with things like fusion reactors, and plasma? Could we build entire satelites with the purpose of raining plasma and thermo nuclear warheads down at us turning our planet to glass? In halo, the covenant destroy planets by turning the surface completely into radioactive glass lol. Gee, no life can live on it and the resources have been destroyed or made impossible to reach, its better than blowing it up.