Second this, proxmox on an optiplex is going to be a great place to start, although VMWare has gotten less greedy with the free version of ESXi. With how hard it is to find a raspi right now you’re going to be spending the same amount of money on an optiplex.