I would ignore MIL and friends, but I would speak to your husband so that you know what he’s thinking.
Our children didn’t sleep well and we were completely shattered, so they came in with us. Of course it would have been great if they slept in their own rooms, but they didn’t and we all needed sleep so we did what we had to do. It’s not for long on the grand scheme of things.
Neither of us seen it as me prioritising the kids over my partner, I find that an odd thing to say. The children were both of our responsibility, not just mine, your MIL and friends talk as if his own children are something you are inflicting on him. Good grief!
As we saw it, WE had young children, I was breastfeeding, they didn’t sleep well alone and we both did what we needed to do at that time for everyone to get sleep. We are 20 years after that part of our life and actually look back at it with fondness. If my partner thought of cheating at the time because of it, then he’d have been a fool and I’d have been better off without him. Thankfully he was a responsible adult, understood that we chose to have children and we dealt with it together and it made us stronger as a couple. He loves me, loves our children and we got on with life as it was at that time.
IF you feel like having sex, it doesn’t have to be in bed anyway. If your MIL and friends need a bed to have sex, maybe they should concentrate on improving their own sex life rather than being concerned for other people’s.