If you're dealing with Apple/an Authorized Service Provider, there is a replacement method available to them to get data off of a failing system. (Uses the USB-C ports and DFU mode).
Anecdotally, it does work on some boards that are otherwise hosed, but may be less frequently successful than with the prior data connector, as there's more pieces that do have to be still functional for it to work.