Back when I used to work at a drug rehab clinic, we had one “client” who disappeared on us. Well, that’s not an unusual occurance, but she turned up several months later with a very interesting tale.
Seems she had some sort of stroke or brain-damaging incident that gave her amnesia (she was not, of course, able to recall how her lack of memory came to be). Somehow or other, she wound up in the hospital where, in addition to various other medical problems, she was plagued for several days by muscle spasms, nasal congestion, diarrhea, body aches, and various other symptoms no good cause had been found for.
A month later, the “Jane Doe” was identified and family members showed up. It was then everyone on the medical team learned she was a long-term heroin addict. She learned it to - then forgot it again about three minutes later. (Repeat several hundred times)
Upshot? She felt like crap for a few days during withdrawal, but didn’t remember she was an addict. Once it was out of her system she seemed “cured” - she just never thought about getting high, never remembered getting high, etc. Whenever she pulled out the notebook she kept with important facts about herself (like birthdate, address, telephone number, medical history, etc.) she would be surprised (again) to learn of her addiction history.
As you might guess by now, her memory never functioned normally again. She was rehabilitated to the point of being able to dress herself and carry on a casual conversation, but was never thereafter truly able to care for herself.
But, relevant to the OP - at least in this case, once the withdrawal symptoms were over, she literally didn’t remember she had ever been an addict. Not sure lack of memory is a good tradeoff for cure of addiction. Both seem to be very nasty conditions.
Of course, that’s just one anecdote. But food for thought.