Yes and that is the way to go.
They bought bad crystal balls to predict the future. Told em to buy better ones for the next project
Being serious, like you asked it’s easy to save the resulting image in a container registry and deploy it afterwards using the tool you like the most.
And since you can run said container using some bash scripts, puppet, chef, ansible, terraform, backed into the AMI, user-data script, docker swarm, docker compose, kubernetes, capistrano, AWS ECS or many other ways it would be very out of scope for us to dictate your infrastructure management.