Sexual therapy whereby patients are required to explicitly divulge the sexual encounters that they have with their spouses will not be permissible in terms of sharia.
First of all, if a husband and wife are experiencing problems in their sexual lives, each of them should refer the matter to doctors of their own sex and not to doctors of the opposite sex. Secondly, when consulting with such doctors, they should then give a broad outline of the problem/s that they are experiencing and not go into the finer details of their sexual encounters. For instance the husband could explain to the male doctor his complication/s with regard to erectile dysfunctions or premature ejaculation, etc. Similarly, the woman could explain to a female doctor her problems with regard to painful penetrations, frigidity, etc. This type of exposition of their problems should be sufficient for the doctor to be able to diagnose their problems and prescribe some appropriate medical solution.
Western sexual therapy that requires the spouses to explain the nitty-gritty and finer details of their sexual encounters and performances in bed has no place in sharia. Such vivid and detailed description would be tantamount to having sex in full view of the doctor.