Node Red has many published Flows to control many devices including Philips Hue, so it should not be difficultI think that there have been some users who have done this.
Also Openhab and Home assistant are now supported by UCM.Pi which you may be more familiar with
I've got 100s of hue bulbs being controlled by the UCM-Pi. Most lights or groups are linked to zones, so the lights come off when activity it sensed. The lights go off after a period of time. I'm also using time of day or sunlight sensors to adjust the brightness of the lights. For example during the day the light brightness depends on the amount of daylight. During the evening brightness is at 100%. During the night the lights come on at 5% brightness.
I also have an over-ride node red switch which means I can tell the light to stay in its current state, and ignore the rules above. This is useful for long periods of inactivity like watching a movie