Can you use it to create an Agent (princess, merchant, spy, etc.) instead of a military unit?

If not, is there a way to create an Agent with a cheat?

If there is, please write down an example :)