If the machine runs mostly idle i would not go for amd unless it is the 5700G. the other cpu’s just use a lot more power.
Something like a 12th gen intel 12400 would idle very low depending on the hardware, (between 4 and 20W it really depends a lot on the motherboard)
I have a proxmox vm server running with the slightly faster 13400 and about 30 docker containers for all my home services. max cpu utilization of the last month was 25% and it usually sits at 2%.
If energy costs are a non-issue for you, then second hand server hardware would serve you well, you can run multiple computers and spread things out over tons of cores.