If you really study the scientific research (i.e. you don't just read a headline in a newspaper saying "SCIENTISTS SAY COFFEE IS GOOD" or "SCIENTISTS SAY COFFEE IS BAD" and you actually understand the limitations of nutrition study design and the conflicting results across seemingly similar studies), you'll come to about the same conclusion: there are tons of uncertainties in nutrition, and eating lots of plants is about the least uncertain advice out there.
Unfortunately, science is nowhere close to understanding the human body sufficiently to make any specific claims about "optimal nutrition". I'm not sure it will ever be possible. The human body is just far too complex and dynamic a system.