Hi,
Yes, you can put an M2 PCIe NVMe SSD of your preferred brand and capacity and then reinstall the OS on it. Something like the Samsung 970 Evo Plus would be great.
You should disable the Optane module you have at the moment in IRST software. You can see at bottom of this doc where it explains how to disable the Optane in Intel RST application and BIOS.
https://support.hp.com/us-en/document/c05591811
Then remove the Optane and install the PCIe drive (page 54 of service manual)
http://h10032.www1.hp.com/ctg/Manual/c06248419
and reinstall the OS on it (i would create the bootable USB before inserting the new M2 drive)
https://www.microsoft.com/en-us/software-download/windows10
or
https://www.microsoft.com/it-it/p/hp-cloud-recovery-tool/9mtks9pr7r3n?rtc=1&activetab=pivot:overview...
Hope it helps,
David
Please click on thumbs up for thanks
Please click on thumbs up for thanks