No, not quite. Geothermal is powered by the accumulated heat stored in rocks from fission Uranium and other heavy atoms deep in the Earth (and other phenomena).
Geothermal hotspots do not reheat by fission or otherwise at the same speed that we extract their energy (if they did we'd be in trouble if we weren't extracting it!).
As I mentioned in another comment, build a Dyson sphere of solar panels around the Sun and it will last just as long. Build an all-Earth geothermal plant and the heat will be depleted.