Converting normal vector to texture for edge outline effect (shader graph)

so it is possible to make a depth based outline (fullscreen) effect by using scene depth and offsetting it then subtracting to get the difference in depth then apply the difference as outlines

so I thought of doing the something similar in shader graph by using normal vectors then subtracting the difference between normal vector and offseted normal vector
but there is A LOT of problems :

not sure if it will work
can’t offset the normal vectors as intended , I wanted a similar effect to offsetting a texture by changing its uv but normal vector node doesn’t has a uv and can’t be converted into a texture in shader graph (as far as I know)

if I could convert it into a texture I would offset its uv then subtract the offseted one from the main one to get the edges in a texture to apply it as edge outlines

my question : is it possible to convert Normal Vector node (RGB) into 2d texture in shader graph
if not , do you think there is an alternative way of detecting edges using normal vector node ?