Actually did find something in a similar vein and it's working! I took a vow (very serious matter in Jewish law) that if I relapse during the next week, I have to fast for a certain amount of time. This is working well; I won't break the vow, even if I (God forbid) relapsed I would 100% follow through because I took it on as an obligation. I am finding this very helpful.I remember hearing about a woman who had tried to quit smoking for years. One day she decided she really wanted to be done, so she got a friend to help her come up with something she would have to do that would be really distateful to her if she smoked again. She decided on making a donation to the KKK. In the end, she was able to quit smoking without ever donating to the KKK because she was so replused by the idea. I think she actually gave her friend a completely filled out check in case the worst happened.
Maybe you can think of an organization you would hate to donate to and find someone you trust that would gaurantee they would actually send the donation if they knew you had relapsed. Again, you would have to be committed to being truthful and looping people into your struggle.