There were even hypervisors available, such as VM/386:
https://en.wikipedia.org/wiki/VM/386
https://virtuallyfun.com/2023/06/13/re-visiting-vm-386/