There is already this app:
That being said… you cannot really create a true “disco” experience with it, especially if you have a lot of lights. Zigbee is simply too slow to change multiple lights at once or cycle through colors quickly.
Before I had Hue lights, I used those cheap Mi-Light bulbs (which I had to abandon because Athom refused to update their app to SDK v3 at the time). Those had a built-in “disco” mode, and activating that worked way better.
So, sorry to say, Zigbee is just not up to the task. Even the official Philips Hue Disco integration limits it to around 10 lights max (or something around that number).