There is perhaps some rough correlation but as soon as you define an objective metric then consumer packaged foods companies will figure out a way to game the metric by engineering foods to get good scores and be highly palatable while still not being very healthy. Another way of thinking about it might be ultra-formulated versus ultra-processed: what matters is the contents rather than how you got there.
https://peterattiamd.com/davidallison3/