Habit (good or bad) is stronger than the strongest of willpower.
I believe, when done correctly (per the individual) behavior modification (creating or eliminating habits) is 'The Ultimate' way to safeguard your desired successful outcome & set your future self up for your success.
In my opinion, it is short sited to focus on the behavior you do not like.
I am doing it again *zap* Or I am thinking of doing it again *zap-zap*
I think, Success would come from the self discovery of, "Why?" or "What is the trigger"
Once identified you can work on eliminating the trigger; or replace. For instance maybe you eat junk food out of the vending machine in the break room at work at 2pm. If the trigger is you are hungry, instead of zapping yourself for eating the junk food - you could bring a healthy snack. Or perhaps <same situation> perhaps the trigger isn't hunger - there are other people in the break room you want to chat with and break the sitting marathon. No need to zap - just go in there and chat it up. If you need an excuse - get some water.
Now I am no expert - what do you think?
P.S. I think living in a world that everyone is wearing watches that zap them for behavior modification.. would be hilarious.