Is it allowed in Islam that when I am working out at the gym and listening to motivational songs which doesn’t affect my thinking in a bad way?

I hope you’re well. There is no problem in it as long as the music is not haram (suitable for gatherings of amusement and play)