In BG2 there was the possibility that Aerie could become the witch of Minsk. When Aerie was hurt severely or even died Minsk could enter a berserk rage in which he was faster and did more damage (but was also not controllable anymore as far as I remember). Is it possible to add specific combat behavior to companions if they have a certain relationship with the player or with each other like:
- specific passives
- status changes that will trigger under certain conditions (see above)
- additional skills
Be creative (but keep it close to DnD 5e to not introduce further balancing issues). BG2 has shown it's possible and it would add another layer to personality of the companions if their relationship actually matters in battle as well.