what you risk is all sort of paging error / out of space issues in windows because you have to guess and set a Max size RAM disc, which will be far smaller than what windows could have used on your HD / SSD. if your temp files don't all fit into your allocated RAM disc space, expect hours of entertainment? as you try to debug the program failures
& there are specific extra reasons why you should never assign your system page file to a RAM disc, as Google can explain.
if you have an SSD , you almost certainly have a secondary HDD for data. Just assign TMP to that drive to prolong SSD life