Can my friend stay in my hotel room for one with me?

I'm going to be spending a week in London this year, and booked a solo room. My friend would like to come visit me for a day, and since travelling back and forth on the same day is such a hassle, we thought they might be able to come stay in my hotel room for a single night. They'd bring a sleeping bag, and they'd be out of the room first thing in the morning. It's a humble hotel (&room) without breakfast or anything like a pool or sauna. Could this get me kicked out? I'd be spending the rest of the nights purely on my own. It seemed like a no-brainer at first, but I'd hate to cause any issues.

Author: Dramatic-Industry691