Is it reasonable to ask your housemate to have their family give prior notice when they plan on visiting?

I pay half of the rent and bills, but me and a member of their family don't get along at all. We kind of hate each other and have gotten into arguments. My housemate knows this; they know we hate each other, so I was thinking of asking my housemate if we can have a rule where their family is not allowed to just show up whenever they want and that they have to give prior notification they intend on visiting before coming so that I can leave to prevent any further arguments from happening.

Is it okay for me to request this? No one I know ever shows up without prior notification, and I wouldn't allow it because I think it is rude to do this, but my housemate has family who show up whenever they want without calling or asking if they can come.

Updates
6 mo
Housemate family have come here even when the housemate has not been home, because they often don't even contact the housemate to ask if they are home, they just show up. There has also been times when housemate family have come here and gone through my things.

I am aware I cannot enforce the rule. Was just wanting advice if it was reasonable for me to ask the housemate if they can make sure their family has to call or text him first before just showing up
Is it reasonable to ask your housemate to have their family give prior notice when they plan on visiting?
Post Opinion