It works for smoking, but I don't think it does as well for vaping? You just can't rationalize the addiction the same way because you don't stink, you probably won't get cancer from it, you do enjoy it to some extent, etc.
So as long as you have your own reasons for why you want to quit vaping (and if you're picking up the book, you probably already do) it can still be helpful. The books from whyquit.com I mentioned in a sibling comment mention some vaping-specific arguments, and they're framed as quitting nicotine in general, not just smoking specifically.