I think some part of my toenails or the surrounding tissue/material has grown deep under my foot and arrived at the heel. Is it possible to distinguish parts of toenail from skin, for example under a microscope.

All medical professionals locally tell me this is impossible. I am solely interested in the possibility to distinguish nail from skin, I already have plenty of opinions about how wrong I am about the cause of my pain. I'd appreciate greatly if your answers stuck to the question I asked.
Secondary question - Is it possible to distinguish hyperkeratosis from toenail elements?