YMMV. VirtualBox couldn't coexist with WSL2 in the beginning, and even when support was officially announced by VirtualBox and listed on Microsoft's website, it still didn't work for a lot of people. I had that problem during 2020 and gave up, but it appears that others are having success in 2021:
https://github.com/MicrosoftDocs/WSL/issues/798