I think you're probably right to a large degree. To paraphrase you're basically saying yes, there for sure is a very real genetic and environmental component, however if we simulate a reality where everyone runs their bodies and minds in an optimal manner we'd be far less likely to see all forms of disease including mental illness/psychiatric disorders.
The takeaway is if you're struggling with it, they are both important components that ought to be a part of a wholistic treatment plan.
I was watching something on Health Theory the other day and she psychiatrist being interviewed said they start with an elimination diet and the nutritionists have more success than the psychiatrists.
Food for thought.