The States were delegated the authority to appoint officers and train according to Congress' directives. That's the extent of State authority in Militia matters.
Congress shall have Power;
To provide for organizing, arming, and disciplining, the Militia, and for governing such Part of them as may be employed in the Service of the United States, reserving to the States respectively, the Appointment of the Officers, and the Authority of training the Militia according to the discipline prescribed by Congress;
The Militia is under the control of the Federal government.
They could be called into federal service by a vote of Congress to "execute the Laws of the Union, suppress Insurrections and repel Invasions", yes. That was the plan.
As the War of 1812 demonstrated, it was a bad plan. Subsequent to that war, the state militias gradually disappeared as the federal government created a standing army.