Can my Egyptian friend stay in the same hotel?

Hi everyone, I am a foreign male.

Is it possible to invite my female Egyptian friend to spend the night with me in a hotel in cairo?

Also, if we do, is there anything legally i cam gst in trouble for?

thanks!