No - you cannot do it; if found, they can choose to kick you out and at the very least tell you to either book another room if it is available, or the extra person will have to leave. Hotel staff keep a very sharp eye for just this sort of situation - they know who is supposed to be in the room and who isn't.