SWIFT is a messaging system. It does not transfer money per se. To answer your question, yes, what you are proposing, can also be done with SWIFT.
The actual money transfer in such a case would most likely utilize the RTGS or local clearing & settlement switches.