As others have stated here, the depth of state that the hypnotherapist takes you into should be appropriate for the type of work they are facilitating. With the exception of some longer verbal inductions, the process is typically an interactive dynamic between hypnotherapist and client, making it difficult to go to sleep. An attentive hypnotherapist will be tuned into your state and talk a little louder or more firmly if they need to bring your state up a bit.
That being said, sometimes a client may have an inner part that checks out during the process. Meaning that part of them doesn't want to work on what we are trying to work on and it causes them to blank out or drift off (not asleep but dissociated). In this case it may require speaking directly to that part and doing some parts therapy to get it on board.
You can however definitely get a great nights sleep after a quality hypnotherapy session!