no, they do not need to be debayered. the master flat (and master dark and master bias) should all be in CFA (bayer) format, either mono or 3-channel.
after calibration of the lights, you debayer the calibrated lights, then run star alignment, and finally imageintegration.
rob