That is precisely what I have been preaching. If you see the oath that every soldier takes in Pakistan when they start....it has a VERY CLEAR comitment that "I UNDER OATH commit to not getting involved in the politics". So that's a guding principle that every general before taking over from the civilian government.....should consider. When you break an oath, you no longer belong to that institution. So when you break the oath of your military services, you are no longer an army or whatever officer. But these military guys forget their own oath they take for the job.
Civilian matters are a part of the democracy. Learning to tolerate who you don't like for 5 years helps create a toelant society where people disagree and still make progress. If you don't have democracy....you'll have military or otherwise jungle rule where people would destroy or kill others who they don't like. That's what the talibans are doing. I think the Pakistanis can do much better as there are hundreds of millions of smart people. The conclusion is military is NOT equal to democracy. Military is just ONEof many arms of the Democratically Elected Civilian Government. Militaryies salute the Elected Officials by the PEOPLE and military generals resign when they are asked to by the elected officials by the PEOPLE. People hold the power. Not the military. Militaries defend the country and want the public to support it. People are everything in democracy. Individuals are not.