Yes! Maintaining a healthy weight reduces stress on your joints, including your knees.  Eating an anti-inflammatory diet rich in fruits, vegetables, and whole grains can also help.