Outside of sci-fi and some very arid environments, rapid extreme heating of large quantities of soil will produce big steam explosions. Which might spread some relatively unheated, termite-laden clods of earth over a wide area.
In a different context (limited quantities of soil with extremely heavy chemical contamination), I have seen serious proposals to drive heavy electrodes deep into the soil, gradually apply very large currents (avoiding steam explosions), and let the heat & electricity destroy the contaminants in-place.