Certainly. The reason they are held at Gitmo is so that they will fall under the president’s power to detain foreign combatants as commander-in-chief of the US Military, so he could release them at any point if he wanted to do so.