Raycast question

Hi! I have a question about raycasting. I know you can get the hit location & normal of the hit face, but is it possible to cast from the normal afterwards and get the left and right side hit locations?

I made a visual representation of what I am looking for:

This is so that I can visualize perpendicular lines using the gpu shader