Yes. Such stories can be great. It could show that people can change and that friendships can form in unexpected places. It also challenges our notions of good and evil and makes for a more nuanced tale.
It depends on your perspective. Some might think so, while others might have doubts based on various factors like the hero's actions and character development.