Umm, yes...?
Just put a 'warranty void when removed' frangible sticker on it. Seems to work fine for PCs.
But so many people these days seem to be brainwashed into accepting that computing devices should come with soldered RAM and locked bootloaders, they probably can't even envisage how hardware used to be. Yes, modding my device voided the warranty and I didn't care. Freedom has a cost.