Sure they can. The feds can nationalize state militia. They do it all the time. In fact George Washington commissioned the Foxwell militia from the Eastern shore of MD to protect DC.
It should be manifestly obvious to thew most casual obsever that the purpose of gun control is to disarm the citizenry, not to stop shootings.
Los Angeles, New York, DC and Chicago have draconian guns laws. They also have the highest rates of murder by gun of all cities in the world.
When victims cannot defend themselves they die. Gun control absolutely guarantees increased homocide by gun. That is clearly the state’s intent.
The National Guard is NOT the "state militia". Most states no longer have a separate militia, but some do (Texas is one that has).