Do you mean Ubuntu LTS which run though VirtualBox/WSL? It should work.
I mean the
Ubuntu LTS that requires enabling the WSL. But, going through a virtual box seems better, I hadn't thought of it.
If you know how to use WSL, don't bother using VirtualBox. WSL/WSL2 offer better performance compared with VirtualBox because WSL/WSL2 is Type I hypervisor while VirtualBox is Type II hypervisor.