That’s why Phillips has introduced multiple switch devices that don’t change the current to the bulbs. Including the most recent which look just like a regular switch and don’t require batteries, but also are not wired into the mains.
They will work as long as the hue bridge is working, which does not require the Internet or Wi-Fi, it’s a local connection. (it is zigbee, but it’s zigbee to the hue bridge, not the smartthings hub, and reliability is excellent.) They will work with Alexa.
Where you run into a problem is if you are trying to mix dumb bulbs and smart bulbs and control them from the same wall switch, but most people aren’t doing that.