Is this possible on the vertex shader.

Yeah, you can’t do that without tessellation or geometry shader (pretty sure that you mean you want to manipulate the actual edge and not just interpolation modifiers [like noperspective/nointerpolation] - since you could do those in texture to a degree).