Based on William Lam’s guide. Link :
DietPi DietPi is a Debian based Linux image. It is designed for low compute Single Board PCs. It optimized for miniature RAM and CPU resources. I highly recommend you check it out.
ESXi on ARM ESXI on ARM is a VMware Fling built to run on 64-Bit computers. One of the most popular is the Raspberry Pi 4. Blog Post:

Let us get started

Before you begin you will need to grab the image. As of this writing I recommend using the 32-Bit image of DietPi. These same steps should apply to 64-bit version as well.

The first step we need to do is use a Debian based machine to use QEMU Utilities. This can be on any machine but for these steps I used a Debian machine. SSH into the machine and run the below commands.

    sudo apt-get -y install qemu unzip wget qemu-utils p7zip p7zip-full
    7z x DietPi_RPi-ARMv8-Buster.7z
    rm DietPi_RPi-ARMv8-Buster.7z
    qemu-img convert -f raw DietPi_RPi-ARMv8-Buster.img -O vmdk DietPi_RPi-ARMv8-Buster.vmdk

Now we need to move the file to our VMware ESXi data-store. You can choose different ways to do this but I chose to SCP to my local machine, then to upload it. As such:

scp dietpi@ /Users/andrew

Once the files is on a data-store, SSH into any ESXi host and then run the vmfstools on the vmdk. As such:

    vmkfstools -i /vmfs/volumes/NAS-02-HD/DietPi_RPi-ARMv8-Buster.vmdk_ -d thin Dietpi-arm64.vmdk

Now you can delete the old vmdk. Then go into VCenter (or ESXi) and create new VM on the Raspberry Pi. Make sure you set the VM as a ESXi 7 Hardware level and as a Debian 10 VM. That is all for part 1. Part 2 is coming soon. Let me know if you have any questions or feedback.