To my knowledge, no. Nothing outside of a CGPROGRAM block can be modified by the MaterialPropertyBlock. So anything like Stencil[_Value] or ZWrite[_Value] won't work.