Let's say hypothetically I'm a member of some gang and just killed a member of a rival gang. I've been accused of murder and taken to trail. My fellow gang members want to help me get off, but not so much that their willing to do anything that could lead to their going to jail instead.
It's possible for one of the gang members to claim to be the murderer to sow reasonable doubt in theory ( What prevents someone from claiming to be the murderer in order to get the real murderer off?) However, they would then be guilty of purjury and other crimes which my fellow gangbangers likely don't want to go to jail for.
However, instead of one person coming forward and explicitly saying they committed a crime what if multiple gang members all came forward and implied they committed the crime. For instance saying things like "I was planning to kill that man for being on our territory, but I won't say I did it" or "I 'took care of' some of the rival gang members that day" something along the line. Could a half dozen individuals come forward to intentionally sow confusion as to who the murderer was without risking purjury and thus help the actual murder get free?
If the inability to plead the fifth when giving testimony makes it too hard to imply guilt of yourself could they instead intentionally point the finger at other gang members (with those member's approval), thus allowing them to imply guilt of another without being put in a position where they had to explicitly say yes they did or didn't commit the murder if asked directly, since they can't definitively know what another person did.
Has any situation like this actually occurred in real criminal cases?