While most militaries are idols of the highest esteem in many nations, they remain entities of security - the armed forces, the defense forces of the people. This inherent designation of the military, therefore, precludes the armed forces, as a body, from ever usurping to rule as the government in any civil society.
The implied social contract that supports the military within modern societies also bars that military as the bearer and as the trustee of major arsenals, from all actions to ascend to operations as the leader of government in civil society. Government remains a civil entity and operation.
Many historical examples of the military acting as the government, are filled with copious examples of horrific abuses, authoritarianism, violence and dictatorship. Therefor, there must be complete objections to military rule anywhere and everywhere.