The legality of using a military courts martial is a totally different animal than the public acceptance of it. They would need to make a good case for nuclear treason or crimes against humanity (child trafficking)… plus probably take down a few people in the judiciary first (show the federal courts and even supreme court justices have been comped).
Which, perhaps, is the plan.