You probably could if you could make sure they were flashed with the exact same firmware, but it is certainly not recommended. If you are forced to mix them place brand A on CW and brand B on CCW motors to make flipping on takeoff less likely if they started up at different times.