You may want to see dreams as an opportunity, rather than threatening.
I've been experimenting with lucid dreaming. A lucid dream is when you realize you're dreaming while in the dream.
One of my goals is to contact my higher power, and enlist their help.
Stephen LaBerge wrote a book on lucid dreaming - how to get them; how to use them - and although he didn't address addictions, other than with dieters who were able to eat their fill without consequence in lucid dreams, he has many suggestions which may be helpful to us.
I think it's common to dream about drinking. I've had those dreams many times. It may be that dreaming could be a healing resource for us. In any event, dreams are a safe place to address addictions and other problems. You won't have the police knocking at your door as a result of what you did in a dream.