It would probably be very hard/expensive to manufacture, but you could have something like an LGA socket, with the springy contacts soldered to both the IC and the PCB. Thay way, the board can flex all it wants without overly stressing the solder joints.