It’s probably not he solution you’re looking for, but I tend to put Proxmox on all of my hardware with TailScale installed on all my hosts, VMs and LXCs. So far I’ve only once had an issue where I couldn’t get into something. I borked the fstab on one of my Proxmox hosts.
More in line with what you may be looking for, there is a project called PiKVM. It probably won’t help if you’ve borked your whole network, but it might be of some use. It is what it says on the tin. It’s a KVM based around a Raspberry Pi.