As you mentioned, in order to do that you may apply a material with a texture generator on a box. At the moment texture generators support Dimmer, RGB and WRGB modes. In Capture 2020 there will be more modes but no mode that has both warm and cold white. Depending on the results you need, you can also create a transparent box and place light sources inside.