Can the build in navigation be used for aircrafts?

Sorry if it has been asked before, i could not find anything.

I want to make aircrafts like the one in the flying template be controlled by AI, so before I design my own solution i`d like to ask if the built in navigation system can help me. The aircrafts will be flying in a city, so there will be a lot of of object avoiding.