If you commonly wear glasses, headshots and portraits should show you wearing those glasses.
But glass glare is real.
Glass lens reflectivity varies based on coatings, quality, and shape. With better anti-reflection coatings, glass glare is minimized. I also use photography techniques that minimize glare further.
If your glasses don't have an anti-reflection coating, consider removing your lenses, asking your optometrist to remove your lenses, or borrowing blank frames.
Alternatively, if you're considering new glasses, Warby Parker offers a free try-on service. Choose 5 frames from their website and they'll send you test frames with a 5-day try on period. Shipping is free both ways.