I also done that on a friends' 386SX 25MHz machine that had only 2MB of ram. Doom required at least 4MB (sounds ridiculous as I am typing) and although it used the DOS4GW dos extender that was capable of swapping, it never worked.
On the other side, Win 3.1 was also capable of swapping and ran Doom. It was absolutely unplayable though :)