Hi there!
I don't have much time to respond right now, but I did want to send you a quick message to let you know that I too am bipolar (recently diagnosed but had "issues" for many years) and have a Masters, will have a PhD within a year, and may be going for a second Masters after that. What really helped me is figuring out that I shouldn't be afraid to ask for help, and I built up a good treatment team that I know I can rely on. So it's definitely possible, you just have to take care of yourself and have a good support network. I'll write more later, just wanted to send you some encouragement right away!