I was literally just thinking about this the other night...specifically, I was talking about 'psychic chirurgery' in the old Ravenloft setting and ideas I'd had for the horror implications of seeking a cure for madness from a mysterious psychic.
Thanks for giving me PTSD flashbacks of my own, Bling.
I played one of the Ravenloft 3rd Ed. campaigns through two times, once in the classic fantasy setting and once in a home-brewed post-apocalyptic gunslingers setting, and both times the players concluded the experience even more insane than the characters. Strahd can kiss my *@#*%#$ with his booby-trapped rooms.
(Even if my Small Wonder android girl helping the mutant demolitionist to rig up Count Jerkface's big ol' heart crystal with explosives and sending his tower up in smoke was pretty damn rewarding. And IIRC we took down Strahd by the drug-addicted gunslinger holding him in a chokehold while someone scrambled to stab him... that was pretty epic too.)
But yes... back to the topic at hand...
For the most part I'm on the same page with what others have said here. In particular I'd probably underline this here that Bling said:
The way I see it, I'd say that Jedi likely DO have techniques for 'Force healing' mental illnesses, but they're dangerous and frowned-upon: an attempt to force someone's personal trauma to be 'fixed' is no balm to most people.
The Jedi 'mind trick' only works against the weak-willed and, as someone with experience with dealing with mental illness, the trauma-drive of an afflicted individual is not 'weak'...it takes hard, long work to help someone get through their issues, and no doctor or counselor can do it alone. Without effort and dedication from the patient, it's almost doomed to failure.
At a basic and high level, that's my interpretation as well.
I think with Jedi, provided you are hewing to what canon gives us about them, you have an interesting intersection of supernatural toolset with worldview philosophy that would definitely apply to mental conditions. For the supernatural, you have an ability to actually and accurately sense emotion and thought, as well as an ability to telepathically influence change. For the philosophical, you have a belief system that is based on the concept of balance and harmony, not in some good/bad sense but specifically in the way living and non-living systems interact to create an energy field that allows for the perpetuation of natural life cycles (in other words, the "life energy ecosystem" of the universe). With the nature of the Force adding in an element of "thoughts really
do shape reality" then the importance of helping minds to achieve balance becomes truly paramount.
The mental discipline that is key to a Jedi's training is a tool that the layman in this universe often won't have, and while it certainly wouldn't make Jedi immune to something like PTSD (and frankly I imagine a lot of Jedi would have good cause to suffer from PTSD) it does at least give them an avenue to attempt to control it. In that sense, I imagine that beyond even their superpowers the chief tool Jedi would have would be this greater facility with enacting coping mechanisms. Perhaps Jedi are no more immune to falling prey to these conditions than anyone else, they're just better equipped to keep functioning in spite of them.
With my character Niarra, who is a trained Jedi Healer, I've had the fun opportunity to play her trying to help two separate characters with their mental conditions, and in both cases I chose to make her approach be one foremost of psychology assisted by Force-use rather than the other way around.
Basically... what everyone else said before me.
But I admit I have also imagined the possibilities of something more in line with Bling's 'psychic chirurgery.' Revan's reprogramming is a good lore example of ways in which the Force can be used to truly
alter someone's mind, though obviously with many side-effects and consequences. Any other variety of powers that we've seen that affect memory, form empathic bonds, or inflict false/horrible/painful memories or regress people's minds - these all explore ways in which something like the Force might truly
change people's psyche. When I take those examples in conjunction with the canonicity of dark side corruption literally changing people's physiology (eyes, veins, skin, etc), and the ability of the Force to heal physically and disperse energy, I imagine there
could be an argument made for the possibility of 'Force surgery' on the literal neural pathways or biochemistry of a mind.
The danger you start running into with that idea, though, is of course that it starts to tread very heavily into more SF realms when Star Wars is predominately a Space
Fantasy. I think there's a decent argument to be made for it, though, for those who might wish to explore that. But personally I feel that would need to be approached cautiously, with an eye to the thought it would most likely be an extremely
rare ability and very
risky to attempt. It's a neat thing to imagine, but an easily abused concept.
Then again... we've already got the pure magic of Force alchemy. So... perhaps not much of a stretch after all.