Could Jimmy McNulty and Omar Little from The Wire qualify for this wiki?
McNulty is the protagonist and was responsible for getting information on Barksdale's criminal activities and his organization, getting evidence of Stringer Bell's involvement, and he mentored others in his precinct of Baltimore. However, he is a serial cheater, self-destructive, very arrogant, and came up with the whole serial killer hoax in Season 5 to get more funding due to Mayor Tommy Carcetti's budget cuts. Basically, he's a massive jerk but he's "good police", and he means well.
Omar Little is a vigilante who takes down those who are involved in the drug trade and never pulls his gun on anyone not involved in the trade, though he is fundamentally an anti-hero for this. His heroic acts include ending Stringer Bell once and for all, fighting the Barksdale investigation, and helping to try take down Marlo's growing empire. However, while he does fight the Barksdale organization, he makes a point to ensure it doesn't fully get taken down because he wants to hone his skills in taking down big shots, which can be considered selfish since he is willing to let them continue to expand their empire if it means he can still get practice in taking down bigger enemies.
What do you all think?