I mean if we don't look at the global context and zoom deep into the micro day by day chronological narrative level, I'm sure we can say all overthrows are inevitable.
We can say that the Shah delivering a royal decree to dismiss Mossadegh makes the Iranian coup logically inevitable rather than looking at the CIA astroturfing for BP hegemony.
We can say that Torrijos's death is logical because he stepped in a plane at the wrong time rather than looking at the US reverting Jimmy Carter's deal to restore the Panama Canal control back to Panama
We can say that the Shah delivering a royal decree to dismiss Mossadegh makes the Iranian coup logically inevitable rather than looking at the CIA astroturfing for BP hegemony.
We can say that Torrijos's death is logical because he stepped in a plane at the wrong time rather than looking at the US reverting Jimmy Carter's deal to restore the Panama Canal control back to Panama