I’m skeptical. Like hitting a moving target. Except that precision has to be high. Order of magnitude?
GPS has its issues too.
Hey, how about the star constellation? Computers could compute location by triangulation. Star Trek uses the star constellation. Of course you need a clear view of the sky. Then again maybe not. What reflected wavelengths penetrate the upper atmosphere? Not visible to the human eye. Maybe a pulsar?
Probably also use some sort of on-board inertial navigation systems (e.g., ring laser gyroscopes or by fiber-optic gyroscopes.). Use magnetic field or GPS or even as you point out star field (if available!) for fine adjustments & in-flight corrections.