I'd just think through the alternatives, and play it by ear.
In hospital, you have enforced visitor numbers and visiting times. If you feel up to it, having parents and in-laws in your space for 30 minutes then firmly told to leave by a midwife might prove better and easier than 24 hours later when you're just back in your new home, feeling overwhelmed there's nobody around to check things with or help, feeling the full tiredness hit you for the first time.
I wanted everyone to meet DD quickly, and then felt I had more flexibility once we were home: I think both our parents called in but largely to drop stuff like food into us, the 'visit/meeting her' bit was done in hospital.
Its really hard when you've someone who doesn't respect your boundaries. I think the main thing you need to do is get DH 100% on side, and to be able to trust he'll be your enforcer. So: have a signal for 'I need to breastfeed/lie down and I want everyone gone NOW' you can give him so you know he's able to act on it.
I don't understand why people know and are commenting on who will be visiting in hospital when you're ages away: there's no need for discussion now. When people ask, say 'oh hospital guidelines are changing all the time, we'll have to see.' At the time, you can say 'birth was more traumatic/exhausing/longer than expected, midwives are advising rest and no visitors' If you start talking about it now, you give people a chance to argue, and you give yourself no flexibility if you do decide you'd rather get visiting over and done with in hospital and have a few days in peace at home.