Could you really claim that installing Docker via WSL is actually running Docker on Windows? It's really hard for me to claim such. Rather, you're installing/running Docker via Ubuntu (or whatever image you use), while Windows is the host.
I think the context was replying to "You Need Docker Desktop", which used to be true with WSL1. WSL2 opens up the option to run regular Docker in the WSL2 instance, which doesn't have to be Ubuntu, but could be.
Sure you can. WSL abstracts a lot of the networking/integration between the host and VM, just like Docker Desktop does. The experiences are comparable.