I have had an ocd type problem for decades, 40 years about. It involves repeating or saying mantras( that I was given by yogis or learned about) when I didn't want them. With me, I would get the bodily effect caused by the vibration of the sound, and I didn't like it. So I was thrown all over the place. No, I didn't want to settle on just one. Then, I realized I could do this with any sound, phrase, syllables, and I started doing it with people's names, especially if I got excited about some woman I wanted to get more close to...I'd " do" her name and it would intefere...anyhow, sounds like I'm fuckedup, but it has gotten better, now I'm becoming an old man, lol, I live with it, don't do peoples names anymore( knock on wood) and occasionally use a mantra willingly whose sound has a good effect. But the fear of doing a particular mantra can still happen. But I think I have confidence it will pass. To some degree, you can choose what you think.
I also have had other ocd things. I took high doses of ssris in the early 90's but nothing since mid 90's. I think psychedelics have helped
I don't know, maybe chemically Enhanced would benefit from doing a mantra! Or microdose mushrooms or a psychedelic daily.