The heat in the Earth’s mantle and core comes from the gravitational potential energy of the original stellar dust clouds the Earth originally accreted from. So, geothermal energy mostly isn’t. And there’s also evidence that a few natural uranium deposits have undergone natural nuclear fission chain reactions. That one’s a pretty negligible amount, though. Other than that, no, it all traces back to the sun.