I'm sorry if I made it sound easy, dealing with addiction and mental illness is extremely difficult. Thankfully both fields that provide treatment are starting to integrate and become better equipped to treat dual-diagnosis clients, but we still have a long way to go.
I have no idea if formal addiction treatment is the right path for you, but treatment professionals are very well trained in providing accurate assessments to determine *if* you might require some kind of formal treatment and what level of care would be appropriate. Furthermore, many facilities offer this service for free so it really won't hurt to get someone who knows a lot about addiction and mental illness to help you pinpoint where you're at and work with you to design a path to get you to where you'd like to be.
I'm studying addictions counseling presently and although styles vary, the predominant sentiment in the field is that counseling is a collaborative effort where the counselor helps the client figure out where they want to be and offers guidance and support in helping them get there.
Lots of people have terrible experience with treatment professionals, especially when its mandatory, but you CAN find a good counselor to help you get to where YOU want to be.
This is all basically broad strokes but if you'd like any details specific to an area of treatment or so forth, feel free to send me a message.
You shouldn't give up hope in finding relief, you have not exhausted every avenue and you're not pre-destined to be miserable. It takes work, but the results make it more than worth it... I don't just mean addiction treatment here but there are lots of possible ways to find relief and whatever form it takes, we could all use some support in helping us get to where we'd like to be in life. This might be through friends, relatives, counselors, doctors, teachers, artists, writers or just people on a forum with shared experiences.