No clue about CBD, but when I quit smoking, I used this simple technique:
Every time I wanted to smoke, I ran out to the yard so I wouldn’t frighten the pets and shouted every imaginable curse word as loud as I could. Took about 10 days and I haven’t smoked for the last 20 years.
I lived in the country. If your neighbors are too close, it won’t work.
Ha! I love that technique!