The feat in Harm's way lets you take a hit an ally would be dealt.
The betrayal feat wild flanking lets you attack so hard you have a chance to hit your flanking buddy.
I know that it sounds off from a realism point of view, but could you use wild flanking, use bodyguard to increase your ally's AC against your own attacks and, should you hit take the hit onto yourself via in harm's way?
Special: Normally you have to be flanking for wild flanking and adjacent for bodyguard and in harm's way. But if the flanking team is an animal companion and a hunter they can be adjacent and be flanking at the same time.
The hunter takes wild flanking to give it to his companion and has taken spirit's gift to give his companion DR5/adamantine. The companion has the bodyguard chain of feats. Would this work? RAW?