Virtualization of FreeNas (guess I should start calling it TrueNas Core now), adds much more complexity. That being said, it is very possible to accomplish (I run many instances as a VM in ESXi).
You should pass through HBA(s),
not a RAID Card, to the TrueNas Core VM so it has direct access to the drives you are wanting to use with TrueNAS.
Now I am speaking of the actual drives you are using within and not the Drive(s) that you will be installing TrueNas on; that can be a Virtual Disk in the ESXi DataStore.
Confused yet? If so, I would highly recommend that you do further reading on the many threads regarding it in the forums.
Here is a screenshot of one of my instances for reference: