Sure, There are now several of these. What country are you in? The device selection does vary.
If you happen to be in the US, both Zooz and Inovelli make switches that have a parameter that can be set so they can be used in this way.
Zooz is the house brand for the smartest house.
Smart Bulb Ready: disable the relay and control your smart bulbs through wireless signal without cutting power to them
SMART BULB CAPABLE
No more tape or sticky notes covering your light switches. Gain full control over your smart bulbs. By disabling the internal relay of the Red Series Fan + Light Switch, your lights will maintain their routines. Yeah, it does that too.
Both are popular in the community. Inovelli is a very small company which occasionally has supply chain hiccups, as right now, where they are out of stock of a popular item for a few weeks or even a couple of months. But nice features, excellent prices, a lot of people are willing to wait.
There are some other options as well, and again, some for other countries. But you definitely have more choices these days.