Dear fellow brother,
I appreciate your question. Hoping your query is no longer relevant, however there are great resources such as "Teshuva Through Recovery" written by Rabbi Dr. Abraham J Twersky, which discuss these and similar matters at length. Keep up your good work!