Wow so cool, I feel like if I had a light near by desk that turned on every time a friend was on discord voice, I'd be so much more likely to hop in for a few minutes over getting an notification. Something about the physical affordance feels harder to ignore
Check out Philips Hue or Govee lights with IFTTT integration - they can already do exactly this with Discord webhooks, no need to build it from scratch.