If the flash supports wear-levelling (will depend) then swap might be viable, it depends on how long you want these devices to last. There are other factors - what the flash memory is rated for in terms of writes, how long it has been in use up until now, how active it has been in terms of writes.
Wear-levelling is a process where the controller keeps a constant count on how many times every cell has been written to, and tries to keep things so that all cells have equal writes to them.
With that working perfectly and a device rated for 100,000 writes (for example) some very rough math tells us that you could expect a life of a little over 2.5 years with perfect wear and 10MB/s. Realistically you are probably not going to see perfect wear but you are also probably not going to see that level of constant writing either.
Without wear-levelling then all bets are off, you will have no idea how often a piece of data might be overwritten and without something to spread it around the flash cells, you could start killing cells in hours/days/weeks depending on your usage.
So, you can use your flash device for swap, but whether you should or not will depend on the factors above and how long you want the devices to be viable.
One other note: the speed will generally be SLOW for random writes on this device, so you will see a huge performance penalty when hitting the flash swap when you configure it. You will avoid OOM situations, but it may be just as bad if everything slows to a crawl, so definitely some testing required to see if it is even worth it.