Can I change aircraft type and altitude during a flight (for a challenge)

I’m creating a add on app, I would like to be able to change (stock) planes
and altitude at least once in the game (challenge) … If I can do it within
one challenge it would be much more emersive.