Can leather shoes be resoled?
Usually, yes, and with good shoes it is worth it. It depends on how the sole is attached. With a stitched construction, such as Goodyear-welted or Blake-stitched, the cobbler removes the old sole and attaches a new one; a Goodyear-welted shoe can often take this several times. A glued sole is trickier and not always worth the trouble. So ask how the sole is attached when you buy.
Do not wait for a hole. Press your thumb into the middle of the front sole: if it feels soft and thin, it is time. Once there is a hole, the layers underneath can get damaged and the repair grows. Have the heels redone in time too, as soon as they wear unevenly: a small job that spares the rest of the shoe. With shoe trees and a rest day in between, good shoes last for many years this way.