Yes. The post that triggered this was about the players eating where they want and an S&C coach having little control over that. If they’re given a weight/fat cutting goal, yes, eating like garbage will probably show up on the scale. If they’re told to bulk, their effort in the weight room will be the difference maker.
Gaining weight with muscle is a calories in-calories out proposition. As we all know, assuming adequate protein intake (which is solved by just a handful of protein scoops, sometimes not even that), where the rest of the calories come from matters significantly less. Pizza, for example, is a great food for bulking often used by bodybuilders and strength athletes. Fried chicken works, pasta works, dairy is good.