It is possible. You can look into
Pulumi Deployments, although that’s part of and tied to the Pulumi Cloud offering. Or, as a more basic building block for a DIY solution, the
Automation API that’s basically an SDK for the functionality of the
pulumi
CLI.