Article 5 is for invasions, not coup-de-etats.
But you raise an interesting question. I’ve been wondering about Greece, didn’t they have something similar to this back in the early days of the Cold War? Maybe I’m mistaken.
Greece had a military coup in 1967, and was ruled by a military dictatorship until 1974.