Is this possible?

I'm having a c section, I want to make sure my wishes about visitors are enforced. Last time we had the whole family during his birth and all day and it was just too much :( I am ok with visitors later but not for hours after. If I tell the hospital this will they enforce it?