No, swap space will not help in these circumstances. Whilst Ghost can run on a server with 1 GB, this depends on the configuration and hardware. In my experience, a virtual server running Ghost needs 2 GB.
Note that the OS requires 512 MB alone. You could remove snapd
since this isn’t necessary.