In The Gamer's Alliance, Abel makes this very clear by adapting the name Cain once he's turned to the dark side. The heroes are oblivious to his new, treacherous nature and think he's only acting emo because of his embarrassing encounter with a lustful mage earlier in the story. Refan and Ronove also make a Face–Heel Turn later on when they side with demons.
Corey from Three In The Afternoon does this not once, but twice, taking full advantage of his more idealistic friends the second time around.
Julia van Helden does this in KateModern in response all the traumatic experiences she suffers while helping the K-Team, and out of misplaced love for a villain.
In Associated Space, Nazar actually defeats Fatebane, captures him, and brings him to the villain. However, when he doesn't get paid, he decides to break the hero out, inadvertently joining Fatebane's side.
Reynold, of Homestar Runner's Show Within a ShowThe Cheat Commandos, recently went over to work for the evil forces of Blue Laser. All things considered, it was surprisingly plausible.
Any time a previous non-player starts to actively participate in the 'game' in Survival of the Fittest. As you might imagine, this tends to happen a lot.
Agent Washington of Red vs. Blue. Thankfully, it's temporary.
And as of Season 12, Felix
Ephram from Dead Ends does this when most of his family is killed by zombies and Eddie's stray gunshot.
Alex of Marble Hornets does this somewhere between seasons 1 and 2 by appearing to work/cooperate with the Operator, though it's made explicitly clear in season 2's finale that he's no longer any friend to Jay and Jessica. Of course, certain circumstances may have led him to that end.
MSF High: The biggest example would be Gestell, due to his split personality issues, being revealed as the villain of one arc. It's not The Mole, as he had shifted away from hanging out with the players, and did not sabatoge their efforts using this.
In Worm, there are a few cases of heroes opting to become villains (Accord and Flechette being the obvious ones), but the most interesting case comes when Scion switches from fighting for humanity to destroying it.
In The Sonic Amigos episode Detective Knuckles: Cheez it Dilemma (part 1) Sonic turns evil because he felt like it. At the end of part 2, Sally scolds Sonic so badly he becomes good again.
In Pokémon Rusty, Rusty is roped into joining Team Rocket, but backs out pretty quickly. Beedrill becomes the new boss of Team Rocket.