I have cobbled together a few temporary repairs on office chairs that lasted anywhere from a few days to a few months, but they are notoriously-deliberately-obsolescent.
Drilling, shimming, and pinning are easy but won't last forever. Are you friendly with any welders?