Can a dr induce labor if?

You suffer severe depression? Like when I say induce labor I mean by 37 weeks. Early but still considers full term. I’m barely hanging on, my homrones are so strong and powerful and my depression mixed have sent me to the ER 4 times this week. I’m trying my hRdest to eat and drink for the baby’s sake but I just can’t. It’s not enough, what little nutrients and proteins I put in my body the baby takes it to grow and it leaves me ill. Very ill. I’m not even functioning anymore. I can’t sleep. I keep blacking our and fainting. It’s going on for over. A week now straight and I think once the baby is out I’ll go back to my old self. I’ve never been this way, I’ve always struggled with depression but never this severe. I’m going insane in my own mind and body.