As a very specific example I think you're looking for this vit D study.
https://pubmed.ncbi.nlm.nih.gov/23032549/
As a very general example I think you'd have a lot of fun looking at examine.com pages that link to medical studies.
https://examine.com/supplements/vitamin-d/
Two axis of engineering problem definition not handled by the article are definition of normal and lifestyle variation.
The concept of normal blood chemistry levels is vary vague. Certainly for mariners over 200 years ago the level of vitamin C was always normally very low. Running a nutrition program for Columbus-era mariners to optimize their diet to produce the most numerically average possible vit-C level would be possible but would not be healthy at all. There's a giant subculture of both doctors and average people running all kinds of semi-long term experiments on diet and health. Another side dish is the definition of normal for diet, some consider paleo to be normal diet and some consider twinkies and hot pockets to be normal diet. And of course that "normal" diet interacts in peculiar combination with "normal" concept of blood chemistry making it a very complicated problem.
The lifestyle issue is an interesting problem. Due to local weather I don't go outside and due to exercise hobbies I'm extremely large from weight lifting for many years, also I sweat out a ton of electrolytes and presumably water soluble vitamins every other day. A stereotypical elderly petite sedentary zero-exercise desk worker would likely turn into a pillar of salt if they consumed the same salts I require to prevent muscle cramps, but perhaps this theoretical person is old enough to still falsely consider sun tanning as a healthy activity. Meanwhile our evolutionary ancestors evolved to work as physically hard as me yet do it all out in the sunlight naked. Given this incredible diversity in lifestyle, you'd think we'd all take different vitamin/supplements much like we drink varying amounts of water, perhaps a 5 to 1 ratio of individual variation if not more, but instead the bottle of vit D pills in front of me claims we should all take 125 mcg aka 5000 IU which is 625% of the normal RDA. That seems highly unrealistic.
I'm sure there's potential startup ideas to both gather data and analyze the data. Rather than running a trial on 322 people and hoping its good enough, you could gather less accurate data from 1e6 people, maybe 1e7 people, using some kind of cloudy app statistical sampling thingie.