There are certain types of injuries that benefit from squatting with no or moderate weights. If you've a tracking issue with your kneecap, or some muscle imbalances, then controlled squatting will align the load on the knee, and could beneficial. Don't do this without diagnosis and advice from a medical professional.