I work from home. For a while, I was using Focusmate to keep me on track, which worked very well. I implemented something similar using a standard smart bulb connected to Apple Home, and then I just controlled it using shortcuts and Hammerspoon such that it would turn red when my webcam was active, and turned off when it wasn't. I mounted it in a normal lamp outside my office door. It worked really well to reduce family interruptions when I was trying to work. I haven't been doing this for a while now, but I'll probably come back to it at some point.
I called it my Roxanne light :-)