Hypnosis has been used successfully with a variety of habits disorders because we look at what are the benefits a person derives from their habit e.g. to cope with nervousness or anxiety. Perhaps there is a functional purpose for the habit.
Hypnotherapy can assist people to find out the underlying causes, deal with those issues and empower them to make changes.
It is important that a person wants to make changes themselves.