We are a self selected group of family members and friends of people suffering from these illnesses. According to statistics, there is a good chance your boyfriend will recover significantly with medication and IF he stops using illicit drugs and possibly alcohol, depending on the severity of his condition.
If he does not stop using illicit substances, he will not recover from mental illness enough to be the kind and caring, supportive boyfriend you deserve.
My advice is to write him a note and let him know you would like to see him if he wishes to see you again. Since he is so ill right now, you have a couple weeks (at least) to write this and get it to him, if he starts to stabilize. If he doesn’t, I would just give space until he accepts medical treatment and chooses sobriety. It doesn’t mean you don’t love him or that he doesn’t love you, just that his illness is debilitating and made worse by his choice to use cocaine.
Best to you.