The only way to do it would be if someone comes out with a GPS module that plugs into the dock connector. I've seen 1 or 2 implementations of this with jailbroken iPhones, but it was mainly proof of concept and no one has any modules for sale or anything like that. Additionally, I don't believe the iPhone SDK allows access to the dock connector, so you're pretty much SOL with regards to an official supported solution.