Reasonably it should be possible to rest in dungeons. You've cleared out a room, you'll need rest. Just imagine in your head they barricade the doorway a little, they rotate watch duty and they rest for as much as they can before they venture deep.
It is fine, it is realistic, authentic, blah blah blah.