Herbert Hoover used the military, led by Douglas MacArthur, against ww1 vets. The bonus army.
For used the military to roundup citizens and illegally put them in concentration camps. Japanese Americans.
So yes it can be done
The incidents you noted, 20,000 'bonus army' veterans protesting their mistreatment and the internment of around 120,000 people of Japanese descent on the west coast during the Second World War are not comparable to the proposed fantasy situation in either scope or mission.