Can I suggest reading documentation instead of asking LLM’s that are routinely known to just make shit up?
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate says it’s possible with a swap file as the backing device but that swap to zram isn’t supported. I haven’t personally tried it though.
deleted by creator