Hi! I'm sorry you have lost your friend. In a nutshell, yes, her behavior can be related to her illnesses. I especially see borderline issues.
I agree that Dean sounds like an evil person--controlling on top of everything else. I wish she would listen to reason, but I can tell you, in her state of mind, she will not. He knows how to push her buttons.
Please know that, were she not sick, she would not be acting this way. I hope she stays on her meds and sees a therapist. But Dean might keep her from that, too.
Those are my thoughts, anyway.