Absolutely! using the h_ prefix you can target values such as the user-agent. I would recommend viewing our documentation here:
As for the actual user-agent, you should be able to find those values online as they're posted by several provides (device atlas for example)
If you are unsure of the values for the device you have. Then you can open this URL in your device's browser and get the exact values to be used in d_ platform variables:
Replace AAM-subdomain with your company's subdomain.