Hello triptox. Welcome to healthcaremagic.com. Codeine
is a very addictive drug and unless you want off the drug, then it will not be possible to become drug-free. At this time you state that the drug is "a necessity and you feel like a slave to it". Until, you don't want to be a slave to the drug and until you can find something that you enjoy without the drug, it is unlikely that you will ever be free of the drug. I would advise that you find a drug treatment program for addicts that is a residental progam, however, I advise again that you have to want to be free for this to work long-term. Not sleeping is a side effect of the withdrawal and your body has to get used to being without the drug and you may not sleep for sometime without the drug. A treatment program can help you with this as well.
Be well, Dr. Kimberly. Good luck.