[flagged]
I have no doubt these countries exist, but I'm deeply skeptical that they are imitable.
Not technically military, closer to National Guard.
Cuba, the PRC, North Korea, Russia...
A number of European countries have military or paramilitary forces used for law enforcement when it comes to things such as quelling riots. Here is an example.
Obeying illegal orders to attack American citizens on American soil is certainly something, but it isn't law enforcement.
If this were actually about law enforcement, we would have passed the bipartisan border protection / immigration bill that has been on the table for eons.