Is it a good idea for a teenager to join a gym?

I'm 16 years old and I wanna join a gym so that I have something physical to do outside home. However, people keep telling me that lifting heavy weights can cause back damage and keep a teenager from reaching his potential height. I am 5'7 right now. Just wondering if this is true or not?
Is it a good idea for a teenager to join a gym?
Post Opinion