Can a virtual machine install multiple ubuntu operating systems?

Virtual machine software can create multiple "virtual machines"

Each virtual machine is independent of each other and is equivalent to a real computer.

Can I install Ubuntu system on two computers? of course can

Of course, virtual machines can also

As long as you have enough hard disk space to accommodate two Ubuntu virtual machines, that's not a problem.

The hard disk space is large enough to hold 10 thousand ~