OP don't want to worry you, but my experience was: no
I develop a cute appendicitis when DC1 was 4 months old and ebf. Was sent to a&e at the large trenching hospital I'd given birth in and told I would be admitted that day. Explained, was told I could bring my baby. Admitted.
Then told, no, we're a general ward, not maternity, so no baby. And no, you can't go on maternity wards as you'll be an infectious patient. But don't worry, you'll only be here for two nights. Raised how I was supposed to feed my baby. Nurse told me '4 months is fine, stop'. Breasts full to bursting. Can't remember how we got my breast pump to me. Express nearly a pint of milk that night. Asked for access to a fridge to store it in. Again, told: no. Nurses to busy to take to post natal fridge I knew they had. Can't use nearby fridge due to health and safety.
I was in for 5 nights. For the first few I stashed the milk in a unlocked kitchen opposite my ward. I called the local authority breast feeding team as they'd visited me in that same hospital post partum and asked them to help me. They brought a hospital grade pump and loads of bottles.
A few days later I was caught using the fridge and was told off. I went ballistic, yelling 'all you lot will do is say no and tell me what's can't do and I'm just tying to feed my baby'. The crazy screaming crying. Fit did the trick as someone senior appeared and told me I could use the post natal fridge. But I took the milk there myself, three floors down in the lift at 2am, antibiotic drip trailing behind me, infectious patient indeed. The post natal fridge was always empty.
The ward was relentlessly noisy. Lights on for crash calls in my room every night. I thought, the first night, on well, at least I'll get a good nights sleep. Haha. It was worse than night feeding my four month old.
Plus, we were deeply bonded and I couldnt sleep properly without her - at home we were co-sleeping. Every fibre of my being screaming 'where's my baby?' Even though, rationally I knew she was home with DH. It just felt WRONG.
In short, it awful. Traumatic for both of us. I was in for five nights. When I came home dc1 slept with their face smoothed into my armpit for the next six months.
The episode triggered anxiety and insomnia in me and my family and friends would say I am the least likely person to have either. Emotionally I took me about 18 months to recover from the trauma of it.
I should have written to complain but was too emotional. Now I write this out, I think I will now.
Practical questions for those glibly saying: yes, of course - whose responsibility is this? Who should the OP ask to speak to if they say no? My hospitals view was I was a general patient, general wards are not safe for young babies, all private rooms full with more serious cases, I was their responsibility but my baby wasn't.
Practical thoughts for you op: be prepared to fight. Have a advocate that will do this for you (DH/ DP?) your mum? As its hard to find the energy when you are ill.
And have a back up plan in case you need it. Breast pump, cool bag, access to fridge.
Hope your experience is better than mine.