What you’re describing is essentially how Apple Maps works.
https://www.apple.com/legal/privacy/data/en/apple-maps/