Not a bad idea. If I recall, most of Iceland uses this method, no?
Granted, they’re a volcanic island that sits at the tip of the Mid-Atlantic Ridge so it’s relatively easier for them to access this type of energy, but it’s seems like it is a pretty reliable source of green energy.
The heat energy in the earth is already there, so why not use it?