Yes, I created a swap partition about 20 days ago. It has been functioning properly, though it comes with an unattractive splash screen.
Here is the link Suspend and hibernation on systemd-boot
I have edited this /etc/kernel/cmdline
and added the resume=UUID of my swap partition.