Yes, you can scale it and add this expression:
” value / length(toComp([0,0]), toComp([0.7071,0.7071])) || 0.001; “
in order to keep it at the same size.
But i need something so that the appearance of the stroke will be the same, moving it back-forth on the depth axis in a 3d enviroment.