There is a lot that makes it unconstitutional... but that won’t stop it from happening.
In that scenario, I would look for a military officer to fail to carry out orders, because the CinC is illegal.