Yes. You can install the Ghost Firearms Vital .300 Blackout Upper Receiver to your existing AR15 lower receiver and have no issues. You can use your bolt carrier group and charging handle from your S&W upper receiver and it will fit and function fine.
My understanding is that the M&P platform is proprietary to S&W and uppers and lowers are not interchangeable with other brands..