You didn’t say you hadn’t tried it. You gave a spurious reason why it can’t work.
When the SIM loads it has to check all the bits. Having a swap file on the same drive could reduce the amount of data going disc to disc.
It’s always a good idea to have a swap file on each fast drive.