Driver side mirror assembly question


2016 CX-5 AWD GT+iActive Soul Red
My driver side mirror assembly got hit and basically warrants a replacement. The good news is the mirror is intact. It has heated option, signal and has blind monitor. Everything still functions including the motor but the plastic housing broke and the bottom part clipped off and broke. Now I hear a horrible whistling sound. The cap on the back has a crack but can be saved.

So - all I need is perhaps the actual mirror assembly driver side. Is it doable to DIY replace it and attach my current mirror into this assy or must I buy one with the mirror too? Kindly assist.