They won’t be automatically created but you can create your own swap file on /, no need for a dedicated partition:
Use dd to create a file filled with zeros of appropriate size.
Format the file with mkswap.
Activate the swap file instantly with swapon.
Add it to /etc/fstab so it will be automatically used on reboot.
Appropriate size will vary but I suggest starting with something like 100 MB and check once in a while to see how much is actually used. If it fills up you can replace it with a larger swap file or you can simply create another one and use it alongside the first.