Hi,
If the SSD and HDDs are configured from the Storage side like which one is for storing the data and for caching that esxi will never come to know. But there is an option to configure the flash read cache feature at esxi level if you are using this feature apart from your storage configuration then yes you can configure particular ssd for the flash read cache feature.