Two caveats:
1) Your write endurance requirements NEED to be reasonable. If you are planning crushing levels of writes, you are designing a situation more likely to tease out failures.
2) You need to make sure you have backups of any important data on the pool.
SSD's are less prone to "bad sectors" than HDD's, but more susceptible to just going *poof* in a magic disappearing act.
I am a big fan of abusing SSD's in ways similar to what you're talking about,
Can ZFS be used on a pool made of customer (non-enterprise) SSDs like the Samsung 860 Pro or will there be problems, for example, because of a lot of write accesses by ZFS and, therefore, a low lifetime of the SSDs? Will TrueNAS automatically use TRIM for SSDs or does this have to be enabled...
www.truenas.com
and it is interesting that when I've planned for failure on the basis of future SSD costs dropping, it did in fact work out that way...