The world wouldn't run without at least a little hypocrisy. I don't think hypocrisy is inherently immoral. Some immoral actions are hypocritical, but some hypocritical actions are the right thing to do.
It's a good thing because if some countries went down a political path, it would be very adverse to our self interests and the interests of the world at large (Iran 1979, Cuba 1959, Germany 1939, etc).
Also, "the right thing to do," is a very relative term.
But does that mean it was wrong of me to create this documentary? Not necessarily. If people watch my film and take action to reduce worldwide emissions, it's likely to cancel out the carbon cost of making the film in the first place.
This is absurd in any practical sense, but it's being used to dismiss all kinds of people's arguments simply because they have to actually live in the real world, rather than some ideological fantasy land.