Your question seems to be mostly concerned about the human body, so you probably know the answer; eat healthily most of the time, exercise regularly, make sure you regularly get good sleep.
Sounds like the exact narrative from my time at Atlassian; I often wonder if these types of ideas are a natural byproduct of companies working in the same space.
I need you to read this and really think about the words.