This is an excellent question. The answer is: of course! The reason for this is rooted in the nature of Greek tragedy or more precisely in the nature of the tragic hero.
The fact that Oedipus is both tragic and heroic makes him loved and abhorred. The tragic element of Oedipus's life is that he killed his father, married his mother, and lacked self-knowledge. On the other hand, Oedipus is heroic. He loves his people, the citizens of Thebes. He would do anything to save them. From this perspective, he was a great leader. Second, Oedipus is intelligent. For example, he solved the riddle of the Sphinx. Finally, he is decisive and courageous. In light of these point, Oedipus is truly heroic. Apart from his flaws, he is an ideal leader.
All tragic heroes have two sides to them.