No. Usually the pain is caused by damage that has been done already. A loss of a significant amount of weight can help slow the damage, and not put so much strain on already damaged weight-bearing joints, but certainly won’t cure them. This was told to me by an orthopedic specialist. If the people you mention are quite young, there is, of course, a chance of some healing.