You can create an WSFC cluster with up to five nodes on a single ESXi host.

Note: For production deployments, do not set up a WSFC on VMs residing on a single ESXi host.
Note: Windows Server 2012 and above systems support up to five nodes (virtual machines). For supported guest operating systems see Other Clustering Requirements and Recommendations.