Sure, spies all the time if they wanted to rather than exchange them for our spies who were caught. The Germans caught during WWII and executed, 6 of the eight weren't citizens. Case became precedent for trying 'unlawful combatants' by military tribunal.
Thank You!