That's not even close: the first XKCD was published closer to Intel's release of the 386SX than today.
18 years before XKCD, a 386-based PC capable of running Doom would have set you back $6,000–$10,000.
Imagine a game released today that has a 64-core CPU and a 4090 as minimum requirements, and that's roughly what Doom's system requirements would have looked like in 1987.