No, because “brain” and “muscles” are different things. In fact, it's the opposite, it's a way to satisfy a desire which would reinforce health and weight loss, without actually reaping any of the benefits.
If I recall it was about weight lifting and mentally visualizing the lifts in tandem with actual exercise. Pretty sure just thinking by itself did nothing. So, it was three way comparison (lifting alone, visualizing plus lifting, and just visualizing).