Quick answer: No
Long answer: Pulumi is declarative and builds up the final view of your infrastructure, so you can only define what it's going to look like at the end
Other answer: You can use
automation api as an orchestrator and run two separate `pulumi up`'s, one after the other