I would think that strengthening and mobility activities prior to joint replacement surgery would be beneficial. Assuming that you would expect to see diminished strength and ROM in the affected lower limb post surgery, it would make sense that the more you have prior to surgery the better off you'd be after surgery.