Can it be done or is it considered not allowed while in combat?

Also would like to know if there is a command line arguement I could put in a ingame macro to change my FTL without having to use the modifiers

Have been researching this and I don't think I have found what I wanted so i need help when I change over my leader if leader is killed

Thanks in advance