Light and Johan yes. Lelouch while he was epic and flamboyant, wasn't executed properly as an anti-hero/villain IMO. They contrive all these things to make him look bad but it didn't make much sense (the 'kill all the Japanese' being super forced). They even push this rival figure Suzaku as a 'good guy fighting for the wrong side' when he just comes off as a traitor/hypocrite who betrayed his own people for status yet thinks he's better than others. And all things considered anyway the Britannians were still genocidal murderers even if he became evil. Makes no sense for them to get away with everything without even a tribunal. What's worse is how the Black Knights chose to betray him to side with said genocidal Britannians over a recording, super low IQ.
I didn't watch AoT but I heard Eren became some genocidal villain and the good guys side with the Titan transformers (who were psychotically torturing and murdering them previously) to defeat Eren so it's seems like Code Geass.