I don't really like this suggestion to be honest even if 90% of my raids are made with some mates. As told above teaming up is already a great advantage, and to avoid teamkill, communication should be the only key.
There no reason an ingame mechanic should be added to avoid friendly fire.