Joint care in middleage. Will yoga effectively treat it?

Possibly. Yoga does tend to increase flexibility and can therefore help with joint stiffness. If there are certain yoga poses that cause pain or discomfort, avoid those.