Yes. Vegetable oils are inflammatory and high in omega-6 fatty acids. A high omega-6 consumption and/or inflammation have both been linked to anxiety and depression.