Yes, we've got a bunch of people like that in our PhD program as well - but 100% of them, despite not writing a single line of code for years, could still easily get a paying job in industry and be mostly okay (though less happy) there.
If you can prove theorems, then you can also code CRUD websites by following a tutorial, and get paid for that.
If you can't write code if your life depended on it but can write papers on human interface or methodology issues, then you can get a job as a system analyst in any large software development company and keep not writing code there.