We are all unique. I became addicted to Ambien, I was on it for close to 20 years. There was a guy in rehab with me who had developed such a serious habit he needed a one on one attendant to help him around, he had a lot of cognitive impairment. For me, it worked a lot like benzos.
I would caution you to work with a doctor who understands addiction. A lot of us use meds for a very short period of time when we first get sober, but we are all different. Ambien has only been around for about as long as I used it, I read recently that docs have cut the recommended dosage. It is a hypnotic, so you basically get knocked out versus falling asleep naturally.
For me, Ambien proved to be highly addictive, and I also used it to manage hangovers so I could sleep them off at any time.