Yeah, it can.
I was eating a super clean diet before starting - all home-cooked meals, tons of vegetables and fruit. I also did cardio four days a week, plus strength workouts three days a week, and trained for long distance races.
Even with all that, I slowly gained weight. Now, I'm still...