Framed by a gang? Sure, except one thing rival gangs tend to have in common is that police are their mutual enemies, so the idea that a gang would use police and the courts against someone is, um, a novel suggestion. Not that I've been in a gang myself (!) but I believe dobbers (polite term) are 'frowned upon'.
Snitches get stitches!