I have often seen this argument made, but do not find it persuasive. For one, the U.S. military has famously had trouble fighting insurgents in numerous recent conflicts. For another, you are assuming that the "U.S. military" is a monolithic whole that would automatically be on the side of the government. From my reading of history, it is quite rare for the entire military to be on the same side of a civil war. Certainly that was not the case in this country; the U.S. Civil War had West Point graduates in command on both sides.
Heck, Grant and Longstreet (who was one of the Southern commanders at Gettysburg) were close friends at West Point, and Grant was married to one of Longstreet's cousins.
I note in passing that a Military Times poll had Obama losing the military vote to Romney by 40 points.