No. Pulumi can do it but they have a compiler in the background. And you still need a lot of boilerplate devops stuff around it.
So if you already need a compiler to do the packaging, etc. why stop there. A lot of other tooling problems go away.
But yes, you'll be reinventing the wheel to some portion.