while this is not real, something similar in principal very much was! (but not too widespread)

see here or look up “casino dos malware”

uh in short it erases “the disk’s” (unsure which) file allocation table (pretty much the dos/windows version of a superblock). apparently some versions did copy it to memory and give the user a chance though!

Casino - The Virus Encyclopedia

There also was Fake DOS back in the day
Old Software Review: Fake DOS Screen Saver 1.0

YouTube