I have a laptop that will not allow anything but UEFI and I must run FreeDOS… (or one of many other OSes that wont boot via UEFI)

Is there a UEFI Bios shim? UEFI thinks it is an OS, but It loads the BIOS boot block and runs it?

Is that even possible?