You can create a two-node MSCS cluster on a single ESXi host.

A cluster of virtual machines on one physical machine requires a host with one physical network adapter for the VMkernel. Use a separate physical network adapter for clustered virtual machines to connect with external hosts.