No.  The drive with the attached heatsink is designed for desktop use -- it will not fit your notebook.  
Is the WD_BLACK SN850X NVMe SSD (with heatsink) compatible with the Alienware 17 R5 notebook?
17 R5, WD_BLACK SN850X NVMe SSD compatibility