For kubernetes thats absolutely true and I think more people should do that (disclaimer I work with this
https://github.com/stripe/skycfg daily). I think it actually would be easier for people to understand the k8s system if they did.
But, yaml is now everywhere in the ops space. Config management systems use it, metrics systems use it, its the defacto configuration format right now and that is unfortunate cause its bad.