It helps if the glasses are less bulky. I use mine at night. My helmet is supposedly suitable for glasses (red arrow in photo).
Nothing beats going into a helmet shop, putting it on, inserting glass handles in, closing the visor, moving or shaking the head around. You’ll get a good feel which is right for you.