As useful as you may find such an aid, Leomarquie, an externally applied solution to an internal issue isn't an optimum solution. IMHO. Personally - although mind I am not "medically qualified" - I would suggest you consider less harmful alternates. I hear good things of "kratom", and advise that you look into this. The leaves to the kratom plant commonly boiled into a tea, It's still an opoid and from what I hear can still do something about your back pain but it's significantly less addictive. Significantly more difficult to hit "fatal" doses. There's also several strains the users of which report various "calming" effects. Pharmecutical corporations are currently(and have been for some time) trying to load the right pockets up with money in order to have this substance criminalised in many locations due to it's potential to impact profits.
You can't run out of your own mind, it's in constant supply. It's also the most powerful tool you'll likely weild. Like any other tool, it's all in how you use it. With regards to being angry, specifically, much of it is an active choice. It may be of consequence to external influences and inputs but the response is yours alone to control. Anger within itself doesn't have to be a bad thing. Weilded without care it can certainly cause damages but without it stagnation becomes viable as complacancy rises over the desire for change. One table leg shorter than the others(or an uneven floor) can create a wobble... If you're not bothered by that, you'll experience that wobble for some time. Once you get angry at that wobble, you will stop it from happening again. Anger should be attributed as the situation merits, with the least amount required to result in the required effect - most situations it tends to become applied to genuinely merit humor, not anger. If it helps, never attribute to maliciousness that which can be equally explained by stupidity.
Self control is something that certainly will play a major role in long-term space habitation, and is something tradititionally not associated with large groups of humans. No matter the extent of self control any individual can exhibit, the actions of another can more than easily undo. Especially if determined. I do not generally think this shall present much of a problem, however, should the general ethos of the overall society be genuinely that self improvement the few discrepencies that are exhibited should be counterable reasonably effectively by various rehabilitational initatives.
Much of the environment should be different "up there" because what we have "down here" is just too rediculous to function. It doesn't even particularly function on Earth, hence the original issue, and attempting to take that into space is just fatally stupid. I don't put forwards the impression it's going to start off as some utopian paradise - but it's going to have to be making some significant efforts towards that aim in order to eliminate potential excuses for errant behaviours. The rest should happen "naturally" over time. Things like "therapy" are likely to play a major role, as is social acceptability.
Things like "constant darkness" in deep space locations will be combated by artifical lighting of appropriate frequencies, I don't see much call for "real windows" - it's a weakness, structurally. Camera feeds and panels might work a little better. Generally that little will change I don't imagine most people will spend a lot of time looking out. Being panels, it could be "looking out" anywhere... feilds, oceans, deserts, cities...