Although, amusingly, DS9 tried a similar thing with Kira and Dax in The Way of the Warrior, which being the episode that introduced Worf can arguably be described as the episode where they were trying to bait the TNG audience to watch. In that episode, we have a scene in which Kira and Dax are wearing bikinis on the holodeck in a spa, chatting about men. The only time we have such a scene between these characters. Well, there is a scene later in the episode where we see them exiting the holodeck in renaissance costumes, once again talking about men in an attempt to make the earlier scene look organic, but otherwise no other episode before or after show's this side of them.The problem with the Aerobic (?) scene isn't what they are doing. It is that this is the only "friendship" scene between them, and all they talk about is men, while male friends talk about women, but also about a wide range of other stuff.
So, apparently the DS9 writers thought they needed their female characters being sexy and gossipy in order to lure in the TNG audience.