You write about wanting to 'have' balance, so how about creating such balance then where you can place your focus and attention to doing stuff that actually assist you to be more 'in the physical' instead of only 'giving into' the pattern you've been feeding for a long time in relation to just 'getting a fix', an energetic fleeting fix through masturbation and 'masturbate yourself to death' if you will, which I'm sure you'd kick yourself for doing in a life review after seeing how limited it is to 'live your sexuality' that way, which at the moment I'd dare to say it's not even 'sexuality' you are living, but only a relationship of energetic addiction Using your sexual organs as a way to obtain it, definitely limited and not really honoring yourself as your body.
Therefore it's cool what you mention when it comes to having the intent to do supportive things in your persona, like caring for what you eat, the rest you take, exercising, doing more physical activities, placing your attention and focus to creating something - working with your hands, physically would be great in your case - so that you can stop only being 'idle' in your mind thinking of sex/drugs and wishing to have such fixes all the time.
So, definitely make use of the reality around you to assist yourself into a stable position. Otherwise trying to 'stop it all' just by being alone in a room doesn't sound like a sane decision. How about taking some job like working with wood, building, planting/cultivating stuff? That definitely has assisted a lot of us in our process to precisely create such balance you are referring to, you have to create it, it won't come 'your way' just like that, you have to go an d seek it out, move.
Doing simple things like caring for your body can assist you in rewiring your current relationship to it, from using it as a source of 'energy highs' and 'mental fixes' to an actual part of you that you can stand equal to in order to genuinely learn how to live... which we are all in the process of learning and doing.