I've tried out Pkl which is similar in spirit, and I think it's a real solution for k8s manifests. The only thing holding it back is industry adoption imo. It's leagues better than Helm, and mostly better than Kustomize.
See also: KCL, which is very similar and might _actually_ be "the winner". Time will tell.