This was a tv show episode.
I think it was from the late 90s or early 2000s.
I cant remember if the series itself was comedic, or if I just happened to stumble with a comedic episode.
A therapist was manipulating her patients, and, in some times, also seducing them.
A group of investigators tried to plant people in order to expose her.
During the final scene, it was revealed that the old man working at the agency was also one of the people who were able to score a point and have sex with the therapist.
That sounds a villian that was in Hawaii 5-0, where they were an evil therapist and manipulated people.
https://femalevillains.fandom.com/wiki/Dr._Olivia_Victor_(Hawaii_Five-0)#:~:text=Olivia%20Victor%20(Vanessa%20Marcil)%20is,a%20front%20for%20her%20business.
I think I asked about a similar episode in the past. The one I was thinking about was kind of comedic, and the therapist used the phrase Cowabunga. At the end, the old man says Cowabunga, and the other two detectives look at him. The show was Dark Justice, and the episode was called the Specialist. Is this what you’re looking for?
https://www.imdb.com/title/tt0554645/