Unfortunately major religions seem to approach this subject with a cudgel. I think a more charitable reading of their approach is often recognizing that sexual incompatibility is just cause for (otherwise taboo) divorce.
At least all the Abrahamic religions, which I'm most familiar with, emphasize the good of sexual pleasure between spouses. That sex is only for procreation and not pleasure is a common misconception of the Christian view.
> The Creator himself . . . established that in the [generative] function, spouses should experience pleasure and enjoyment of body and spirit. Therefore, the spouses do nothing evil in seeking this pleasure and enjoyment. They accept what the Creator has intended for them. At the same time, spouses should know how to keep themselves within the limits of just moderation