I read the smoking one a few weeks after I’d quit and believe it very much helped me to not go back to the habit. Didn’t read the drinking one, but have heard it was similar.
However I think the case that there is absolutely nothing good about the experience is much stronger for nicotine than alcohol.