Eyeglasses are like any other accessory. Different styles will give you different looks. Some frames may make you appear nerdy, some may make you look avant garde, some may make you look older, some may make you look younger, and some may make you look more attractive than others. There are people who buy them without prescription lenses because they want to project a particular look just like they might wear certain jewelry or shoes.
I have been wearing glasses since I was nine, and went through a few decades of wearing contact lenses with glasses as a backup. The biggest lesson I learned is that I can’t just wear glasses because they are a trendy style at the moment. When those really short and wide lenses that look like readers were in style they made me look ridiculous. I look much better in a medium sized lens. I have to try new frames on to make sure they look good on me.
In answer to the topic question, I think it is the person who makes the glasses “sexy” not the other way around.