Set Specific Vertex IDs Depth Offset?

I know with materials you can set a zOffset to somewhat control the depth of the meshes rendering.

Is there a way though where you can per vertex on the shader override the depth?

if you are writing your own shader you can maybe use the vertex color (or the vertex tangent if not used) to pack into one coordinate the value to add to the position