There is a type of surgical implant done on the lower knuckles of the hand called silicone arthroplasty. It has been fairly successful for many people, but it doesn’t seem to be consistent with all fingers. A recent study found that this type of implant had a better result in the two fingers you mention, the little finger and the ring finger, than the index (pointing) finger and middle finger.
This could have something to do with how the knuckles themselves work. Each finger moves slightly different from the others and their range differs too.