The bottom line is that no, you can't eat potatoes that have been undercooked. There are several reasons for this, most notably that raw potatoes contain a chemical compound called solanine. This is a very toxic compound to us humans, and it can even prove fatal if consumed in enough large amounts.
More useful articles on a similar topic 👇
Is it better to cook potatoes in oil or butter?How do you eat a jacket potato?