Chosen Solution

A computer USB port is powered. So you can send commands to the phone while it is being charged. If you can still get into TWRP (I am assuming that is what you use for a recovery), you can send ADB commands to to the phone. If that is the case, put a MicroSD into the phone, and send ADB commands to copy your data from internal storage to external storage.