Neither the murder of Saddam Hussein nor that of Ghaddafi was okay or legal. They were both blatant violations of international law. Unfortunately, the US is the kind of rogue country that simply doesn’t give a shit about international law and treaties. But here’s the thing with bullies: they can’t beat up anyone they want because there are a few other guys on the schoolyard who are just as strong as them and if they start a fight with those guys, they get punched in the face.
But that doesn’t make bullying the little kids okay or justifiable in any way.