OP, I was determined to breastfeed even though I had terrible trouble with my milk coming in and baby latching on, and did not get enough support with it in the hospital despite asking. I feel like I spent a significant amount of time and energy on it and lost a lot of sleep trying to figure it out, it was very stressful especially as neither the hospital or my abusive ex husband would let me give a formula bottle and the baby was losing weight and I was terrified the baby would die from lack of nutrition. Felt I had to stay awake to watch over baby and make sure baby didn’t have a hypoglycaemic seizure (I’m a doctor and have seen it happen in these situations).
Anyway, I eventually achieved it at great personal expense to myself, but ended up being so unwell mentally that I had a psychotic break and had to be sectioned 2 weeks postnatally and was admitted to a psych ward without the baby until an MBU place was free and put on lithium, so ended up not being able to breastfeed anyway. I can’t say for sure this wouldn’t have happened anyway postnatally, breastfeeding or no breastfeeding, but I feel strongly that the pressure to breastfeed that I (and my ex) put myself under was at least part of what caused me to end up being so mentally unwell.
I don’t exactly regret trying so hard to breastfeed as it was important to me personally, but I would not put myself under the same pressure if I ever had another baby, I would try as I learned a lot from doing it last time, but if it wasn’t happening relatively easily, I would not lose sleep over switching to formula! We are put under way too much pressure to breastfeed as mothers and I still feel angry more than a decade on with the midwives who colluded with my ex to put me under such psychological pressure that I literally cracked.
So after all that I just want to say do not feel bad about prioritising your mental health in such a situation, in a civilised country with easy access to safe preparation of formula, I really don’t think it’s worth the potential downside to you or your baby to risk your mental health over it.