I don't understand why you want to give the isolation barrier, which should be a part of the programmer, to the customer. anyway Since it works bidirectionally, the SWIO pin is the most problematic pin to isolate. I believe you can find something useful if you examine I2C isolators.