Agreed, the external connections like USB-C/USB4 will probably last a good long time.
I was thinking more of the internal stuff like the display connector (not sure what framework currently uses - eDP/LVDS/something else?), and all the input connectors for keyboard and trackpad.
I had good results with microwaving a bunch of beads in a microwave safe non-plastic bowl on mid-low.
It drives out the moisture, and you can see the bead colour indicators change.
But be careful, they’re hot!