You sound worried about your mom. I wish there were some easy answer to your questions, but there is not.
Only a mental health care professional, usually a psychiatrist, can diagnose someone has having a bipolar or borderline personality disorder. Even then, there is no guarantee of a correct diagnosis so a second opinion is usually warranted.
From what I have read, substance abuse makes it difficult or impossible to diagnose bipolar disorder because it is difficult to differentiate between symptoms caused by the abuse and symptoms that might be caused by a neurological disorder.