Yes, exactly what I did. You can just buy a 2230 nvme ssd and slap it in. Process is pretty painless (just remember to take any micro SD card out before you take the shell off or there’s a chance you’ll snap it)
The hardest part for me was finding a usb-c to usb-a converter so I could plug in a usb stick to reinstall the OS.
Wireguard was remarkably easy to set up. Knowing nothing about it beyond “it’s a vpn thing right?” I set it up, tested it, and sent a qr code with setup instructions to my friend all from my phone without moving off the sofa. He was up and running in 5 minutes.