It's bad enough that it's already DHS/ICE vs. all sane and decent people, but using the military to enforce civilian law would turn the people against the military.
They recently subpoenaed Meta for information on a Facebook and Instagram community watch group that monitored the ICE activity in their area. A motion to quash the subpoena was made in federal court, but DHS isn't giving up.