I wear glasses myself, and I will say it can hurt you in the end, becuase sometimes your visor may fogg up, but then soon after, your glasses will. I would suggest wearing contacts if you can, but if not, just be careful not to crush your glasses while puting the helmet on.
I had an older pair of glasses I didn't use anymore, took the arms (is that what they're called?) off and just hot glued the sides onto the visor inside the bucket (A Rubies Jango, comparable to a DP), and I've been fine ever since! Before that it did hurt to bucket-up. If you put your bucket on with your glasses and it kinda hurts, try contacts or maybe look for an old pair and an adhesive? Because it will hurt after 2 hours. Goodluck!
SCBA spectacle kit or do like askywalker98 and mount some old ones inside the helmet. The frames shoudn't be much more than $30, and polycarbonate lenses are cheap.
This is a SCBA spectacle kit incase you haven't seen one:
It's the frame in the middle that can be worn by using an elastic band or can be mounted inside of masks and helmets by using different means. I've worked as an Optician as well as a Firefighter/Paramedic which is why I know this stuff, LOL.
If they can be mounted in a frame they can be mounted in the SCBA one as it it just a hard plastic frame. The thickness doesn't matter if you plan on having them mounted inside the helmet permanantly. Especially since they won't be seen.
You can switch to polycarb or high index plastic if you like for weight savings but I would recommend it just because those materials are also less likely to fog up vs regular glass. Although regular glass has better optics. Choices, choices.
I wear eye glasses and really don't think it would be much of a problem under the bucket unless you have LARG glasses. Also installing a fan would help out on the fog issue. There is also a glass/plastic cleaner that you can get to clean your glasses, and paintball maskes to keep them from fogging up that works fairly well. The combination of all these things would help greatly.