Light switch and milight

i know this has sort of been asked before. I haven’t got Vera yet but was wondering if this would work. Have a momentary or rocker switch with a fibaro relay behind it. Milight rgbw gu10 that have a perm live. Then use a scene that when the switch is pressed the relay activates a trigger which uses the milight plugin to turn the lights on/off.