It's going to depend on the property and the individual person with whom you interface. Some places simply won't allow it and others will do it for the asking. Some need to code the room key and that may mean a clerk having to justify having done it.
So, it really is going to depend on the property and what else is going on. Don't count on it and you'll be pleased if you get it.