WSL2 isn’t recommended for anything when real Linux is an option. You’ll run into a lot of weird things that don’t work right, and the parts that do work right will sometimes be inexplicably slow. And if you want to run a GUI application, that’ll suck for you too.
WSL2 also has a lot of problems you might have with VMs (e.g. you’ll want a GPU with passthrough if you’re cracking passwords).
That said, if it’s your only choice, then certainly use it! I would guess you would still be able to finish most things on HTB in it.