I was on Zopiclone years ago for not sleeping well. I didn’t have a great experience with it but I know it helps a lot of people. I do know that it is very addictive which may be why your doctor is trying to wean you off it. Someone I know had the same issue. By the sounds of it you need stronger painkillers maybe with a sleeping tablet. Perhaps put that to your doctor? And maybe ask if there is an alternative to zopiclone you can take to help sleep?
I hope this helps.