You can use the Steam Deck recovery image to flash an SSD with SteamOS. It's what those of us on other handhelds do.