I’ve been installing Sonoffs with Tasmota in my light switch boxes. Works great! Full control of the lights for automations, but still have the normal look and feel of the standard switch.
Not everyone is comfortable opening a wall switch box and monkeying with the wires.
It’s not too hard and it CAN be done safely. Make sure you turn off the breaker, unless you enjoy sparks and shocks.
Not sure an electrical inspector would be too keen on the way I “insulated” the Sonoff boards.