Yes. If the apartment has 3 or more bedrooms, then ½ of the bedrooms may have a minimum dimension of 7 feet on each side. Furthermore, if the bedroom is located in the basement or the top floor of a converted dwelling such as a multi-family brownstone, it need only have a minimum dimension of 7 feet on each side. If the bedroom has a sloped ceiling, then at least 1/3 of the room must have a ceiling height of at least 7 feet.
More importantly, the window for a legal bedroom cannot be a lot line window. The window must open onto a street, courtyard or yard within the same lot. This little-known fact will invalidate a whole lot of supposedly legal bedrooms in NYC that have been created with lot line windows. Remember that a lot line window will be bricked up at the owner’s expense should a neighboring lot construct a new building that covers the window.
Hotels, boarding schools and the like are considered to be Class B multiple dwellings and are required to only have a minimum horizontal dimension of 6 feet, and minimum square footage of 60 feet.