If it's just for experimentation I'd say get an Intel NUC or similar system. My homelab ( https://www.reddit.com/r/homelab ) is an i7 with 64GB of RAM and a 2TB NVME drive connected to my home fibre Internet. It runs multiple VMs and some of those VMs run dozens of docker images. Most is testing but also I have Nextcloud and other "production" systems on it.
Total cost in Australia was about $1200 for hardware and it will last me 3-5 years depending on availability of RAM upgrades in the future. My last homelab lasted 8 years on 32GB but then I started playing with things like Elasticsearch in docker :D