The luarocks package can be installed on a Windows Linux Subsystem.
Once installed, to use it, use luarocks inside a WSL shell or wsl luarocks within a Windows shell.
wsl # Enter WSL shell (if installed and enabled)
sudo apt-get update # Update package lists (otherwise luarocks may not be found)
sudo apt-get install luarocks # Install luarocks