How do lifestyle, diet, and genetics influence the formulation of customized herbal medicine?

Can lifestyle choices and genetic factors change the effectiveness of customized herbal medicine?