RISC-V has plenty of reference documentation and implementation code from hardware to the OS Kernel. Open source and free too.
And running on real hardware is pretty much the last thing any OS dev actually does. Using a VM with a debugger attached rather than trying to figure out how to set up a debug harness is more convienent.