Several anime fit this description quite well:
Kill la Kill is probably the most striking example. It features extremely provocative character designs and over-the-top sexualization, but this is actually deliberate satire. The series uses its apparent fanservice to explore themes about fascism, consumerism, body autonomy, and the male gaze itself. The story structure and character development are genuinely sophisticated.
Food Wars! (Shokugeki no Soma) has the infamous "foodgasm" scenes that can seem like cheap titillation, but the series contains legitimate culinary knowledge, solid character arcs, and explores themes about creativity, tradition vs innovation, and finding your passion. The cooking techniques and food science are often quite accurate.
Prison School appears to be pure ecchi comedy on the surface, but it's actually a well-crafted satire of power dynamics, gender relations, and institutional authority. The character development is surprisingly nuanced despite the ridiculous premise.
The Monogatari series includes fanservice elements that might seem gratuitous, but it's widely regarded as having some of the most complex narrative structures and psychological character exploration in anime, dealing with trauma, identity, and human connection in sophisticated ways.
Gurren Lagann has some fanservice (particularly around Yoko's character design), but it's celebrated for its themes about human potential, growing up, and the power of belief, with genuinely emotional storytelling.
These shows demonstrate how surface-level elements that might seem "cheap" can coexist with or even serve deeper artistic purposes.