I think that if the gym workouts are for development of the muscles that you have discovered in dancing need work, then it is a very good thing.
I know that when I was first beginning, that by showing my trainer at the gym what I needed to be able to do a lot of--like rise and fall--that we then added exercises specifically to work on the strength in my legs, especially in my calves and ankles, for the rise and fall needed for waltz--and it made a huge difference.
We did the same with the muscle groups I needed for my upper body to handle the frame well.
By using the gym workouts in support of my dancing I improved my entire posture and stability in my dancing.
I heartily recommend this sort of use of the gym.
But I would not bulk up like a football player or a competitive weight lifter because it isn't a workout designed for dancing.
I even offered to pay for a class for my trainer and her hubby so that she would better understand what my goals were.