This was only tested on Fedora 35 with systemd but should work on any WSL distribution that uses systemd.
Install the Dropbox headless client:
$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
Install the Dropbox manager script into your ~/bin
folder: