Are you referring to a used server, or just buying a minimally-equipped new server and upgrading it with aftermarket RAM and (low-quality) SSDs?
This is a pretty common practice for homelab enthusiasts, or so I hear.