https://everymac.com/mac-ssd-st... if you open your Mac here it says: "Proprietary* (PCIe 2.0 x4)".
so probably not.
I have already upgraded several Macs with components from Other World Computing, you can choose your model and then see what upgrade options are available. Maybe that would be an option.