Oh yeah, he’s definitely one of those fun morally gray types (“I did something terrible for ostensibly good reasons and now I have to repent,” pretty classic), though I don’t think I’d call him an out-and-out villain except perhaps in his backstory. Dude murdered his entire kingdom with a magic nuke made out of the souls of tortured innocents, how great is that?