I would think for most people, the problem is not the telescope, but the ambient light (streetlights, house lights, etc.) that blot out the stars and planets.
Viewing some planets optically like Jupiter, Saturn and Venus don’t really require dark skies. Light pollution has little effect on them unless it’s extreme or you’re real close to street lights etc. Stars and deep space objects are much dimmer and do suffer immensely under light polluted skies. Those with larger scopes sometimes use filters in their optical train to filter out some of the harmful light wavelengths such as emitted by mercury vapor lights.