Windows 10 works because its driver library is built for that, it has the base drivers for nvidia, AMD and a number of other fabs. This allows 10 to provide that support out of the box and its hardware detection is considerably better too, it can also just grab drivers off the net as needed.
Windows 8 should be able to also do this but who uses that.
Windows 7, Vista and XP don't have the same level of support for live boot shenanigans, would take a fair amount of work to make it work too but its not impossible.
https://www.technorms.com/8098/create-windows-7-live-cd <--- People have tried, it might not be what you want but perhaps it could be expanded.
Xp is also possible but it requires 3rd party apps like prebuilder and addons to get it working and to provide extra driver support, I cant link it here but googling it should get you what you want.
Again im not sure these are what you are looking for exactly but might be a way for you to get something workable.
As for 98se there are live cds for it too, again not sure they are quite what you want but check them out too.