Late to the party here, but I have a solution, which mimics the unobtaniuum "flip pin" theme.
I bought a load of these from Digi-Key (also available from Mouser); they are available in any quantity.
https://www.digikey.co.uk/en/products/detail/te-connectivity-amp-connectors/1544210-2/4731536Whilst they would work OK if you designed your board to be a smidge under 0.3" wide (or whatever width IC socket you intend to use as a receptacle) and you don't need to take any tracks between the through-hole mounting for the bent pin and the board edge, or if the through-holes would leave insufficient space for components in-between, then you can modify these pins so the centre-line of the pin is directly in line with the through hole and not the board edge.
For this, trim the straight pins (those that would normally be flush to the board edge) as far back as you can, then flatten out the bent pin.
The pins themselves are 0.5mm wide and 0.3mm thick and are reasonably soft. The through hole size I recommend is 0.65mm ID and pad size 1.65mm OD.
You can then solder them in and trim the pin length to suit.
Hope these photos explain what I've done.