Support for 12.3 Megapixel (Sony IMX477)

I plan on going a Nature surveillance project; where I would need a high quality camera sensor to record from footage. Would the BPI-M2 be able to use the RPI HQ camera? If not, would the OV5647 sensor work?