that's a generous interpretation, in a mixed used condo there might be part of the building that's operating as a hotel, with separate entrance, check in desk and separate facilities like pool and lounge area, the condo residents can't access the hotel's lounge or pool and vice versa... the hotel there applied for their own license, just being in the same attached building does not grant you the right to that same license
if it's a timeshare condo type of set up where you could pool your room into the hotel and guest got check in through the hotel's reception, use the hotel's maid for housekeeping then yes, you are part of the hotel