rincor I can confirm that there is indeed an option in the Solus installer for how much swap to create. The available options are "None", "Swap" and "Swap+Hibernate" (or something like that), the last of which will create a swap partition large enough to accommodate swap + your system's entire RAM size, which is what enables hibernate.
If you've got enough swap space configured, hibernate should Just Work (tm) on Solus. I know from long experience that it works perfectly on Plasma, at least with Intel graphics.
But no, the script you posted won't work on Solus.