I have looked into this. It is possible, and documented on the Arch wiki. My main concern is constantly writing a large file to a small SSD.