@Mumtobe799 what a heartbreaking situation for everyone involved! I am so sorry this is happening to you and your family.
I am a midwife and have had dealings with social and children services and involvement in removals at birth/during the postnatal period, and also with maternal postpartum psychosis. However, I work in a different country, so processes and law will work differently. It also depends a lot about your individual case and circumstances.
The paramount concern in these cases is the physical and psychological safety of the baby. There will have been an assessment of this risk in your case, which should be ongoing as peripartum psychosis presents and can and does change quickly and often unexpectedly.
In some of the cases I was involved in, it was possible to keep baby and mum in contact during the first days postpartum by having family members stay in a different postnatal room with the baby, and facilitating visits and breastfeeding so there would always be a support person plus a health professional present with mum and baby.
It will really depend on the kind of presentation the psychosis has. Some women can focus the psychotic incindents on themselves or the environment (self-harm, non-aggressive hallucinations) but not be a direct risk for the baby, while others can develop very dangerous mental ideations in which they see their baby as a monster/satan/a stranger, and hence be a real danger to them. This is at no stage their fault, but as I said the priority is to protect the baby, who is completely helpless and is also not at fault.
Some suggestions for you regardless of outcome: I would recommend, if you're not doing it already, to express colostrum starting as soon as possible. These syringes of colostrum can be frozen and given to your baby later, by you or the chosen guardian. Even if traces of the drugs are present in the colostrum, often they can still be used, because certain medications which cause withdrawals are better "dialed down" than completely and suddenly eliminated. In some of our babies with withdrawal symptoms, the mother's milk was actually preferred for this reason. Although this, of course, will depend on the specific drug and amounts taken.
I would also recommend you to fully collaborate with the team and be very honest and open with them. Having intrusive thoughts, feelings and hallucinations (both visual and sound related) are expected in someone with psychosis. Telling the social services will not afect the plan negatively, in fact being honest and sharing your symptoms fully and openly will create an environment of trust that will allow the whole team to assess you more efficiently, follow the symptoms and identify asap when they are receding. If you hide your symptoms this will be much harder and you may get distrusted to the point that, even when the symptoms disappear, the team may need more time to confirm this.
It will be very hard and there will be ups and downs. But peripartum psychosis IS self-limiting, and you will be well again.
Best of luck and all my best for what is to come ❤