It’s maybe plausible to gently wash it with the filaments still attached? I did actually use connectors so the shirt could be detached from the drive electronics, though I’d be a bit worried whether the stitches would survive and corrosion on the solder joints. Adhesive/waterproof heat shrink could maybe help?
The other option is maybe attach the filaments to an embroidery style patch instead of the shirt itself and then attach it with Velcro to the shirt?