You can tell ESXi that a particular datastore is comprised of SSDs.
You end up having to set a datastore claim rule similar to:
esxcli storage nmp satp rule add --satp SATP_TYPE --device naa.ID --option "enable_ssd"
This is a supported and normal solution. I have to do it for SSD datastores sitting behind HP RAID controllers.
TRIM isn't an issue. If you're using a hardware controller, let things be.