That's one way to look at it. Another is that Mossadegh was legally asked to step down, and refused, and then the person with the legal right ousted Mossadegh.
Regardless, if we don't like dictators or power grabs, then we certainly shouldn't like the current regime in Iran.