If painting you can save it but most of it will need to be cut/planed and have new board stitched in using jointering of choice. And with it being thinned from planning would need to laminate some board underneath to get the thickness back. Then filled and painted. Not painting you still can but will take some grain matching and tight joints to make it look clean.