For fashion purposes? Yes. As long as, if they're too dark, you take them off to talk to people because that's polite. (Also, some glasses aren't fashion glasses and that's okay!)
If the lights are too bright I also vote yes. Just tell other people when they ask so you don't look rude.
As long as people know that you're not wearing them to block people out I think it's fine. I actually WANT it to be a thing because I have some outfits that need sunglasses but no one uses them inside so I can't because I'll look silly...