Sure, but that’s why you would do a normal install, verify everything is up and running, then install the other components and make a name switch.
The added benefit being that discourse-setup will automatically scale unicorn workers and database memory for your server specs.
Lots of simultaneous changes are much harder to troubleshoot.