Are you allowed to bring guests in your hotel room?

I'm visiting my friend in France, and I'm staying in a hotel because she lives with roommates. I was wondering if in general, is it okay if she stays with me in the room during the day (not spend the night)?

Are you allowed to bring guests in your hotel room?
Post Opinion