When a hamstring is tight, the risk of tearing is high. However, there is a difference between tightness and injury. If you feel any pain in the hamstring, see your doctor.
If you have mild to moderate carpal tunnel symptoms, stretching has been known to help treat carpal tunnel pain. However, stretching your hands and wrist is completely different than going to the gym to workout.