Answer:
Iceland already has. In 2009, the Iceland Deep Drilling Pocket struck a pocket of magma 2100 meters below the surface. This marked the 3rd time in recorded history that magma has been reached. The well, named IDDP-1, is the world's first magma-enhanced geothermal system, producing 36MW of power.
But this can only be done in volcanic areas like Iceland, where molten rock can be found at relatively shallower depths. In most places, Earth's crust is about 8 km deep. Drilling a hole that deep would be a huge feat.