You’re overthinking it. I don’t generally have a problem with the plot of the movie or even these scenes, but I don’t think Leia specifically in a bikini outfit is a commentary on how we can overcome sexual stereotyping. It’s because people like seeing a sexy lady, including George Lucas.
Didn’t Carrie Fisher say in an interview that Lucas said she couldn’t wear a bra because they don’t have bras in space?
Also think about that scene in the prequels where they’re captive in the bug stadium and Natalie Portman is showing a lot of skin I guess because one of the monsters ripped her clothes. Why not make Anakin shirtless?