Old Mines and New Wells for Geothermal?

If geothermal well could avoid the problems of fracking wells such as migration of contaminants between layers of strata, this coule be a renewable source of energy that doesn’t pollute.