Is it okay to do so?

Also, what if it’s connected to a machine, like a smith machine or maxrack?