Sokuzan has taught addiction awareness meditation. in drug recovery situations for a number of years and has trained his students to so the same.
The value of simple awareness practice, whether or not one has a spiritual path, is that it allows the consciousness or the awareness to change gears a little bit so one is not quite so magnetized by the emotions and the thought process. If emotions and thought processes get a hold of you, that difficult enough, but if they have a hold of you with the support chemical dependency, then that gets you to re-prioritize so that the attachment to the chemical comes before anything else.
https://www.youtube.com/watch?v=PkvyAoejSco