That already happens, automatically. What you're referring to is called "overprovisioning", i.e. you assign more cores to your VMs than you physically have. Then, when a VM isn't using some of it's cores, the performance will be available to others.
In your example, you could assign your 4 VMs...