Your eyes will learn to gauge distance if you play any sport like soccer/archery/firearms, because you train with targets at set distance. The questionable part is quantifying with measurement units.
Physically it's completely in the realm of possibility: Not only you have two eyes to gauge...