Can I use commandbox to setup lucee on a server?

I have a Windows 2019 Server, running IIS.
Can I use commandbox, as I do on my local system, to setup everything I need (Lucee, Coldfusion) so that I can run my website on that server?

Yes you can. If you only have one web site, you don’t even need IIS. If you want to host more than one site, then I’d recommend installing BonCode into IIS and enabling ModCFML in CommandBox. All your normal config files like server.json or .cfconfig.json work the same. Just keep in mind the CommandBox web server is smart enough to not serve up these config JSON files or .env file, but IIS is not nearly as smart so if you have it in the mix, organize your files and lock down as needed.