Not really. At least not in the simple way of having an LCD screen somewhere near the eye blocking out light from an object in a certain direction by interposing a black pixel. It seems like it should work, but it would be exactly like putting some paint on a camera lens and expecting it to block out that exact part of the picture; it won't - the lens will simply get dimmer, or if the area of paint is large, there would be darkening - vignetting - of a part of the image, with a diffuse boundary; but nothing like a sharp mask.
You can easily convince yourself that this won't work for an eye. Of course, you can use your finger to block out any object - as long as you hold your finger well away from your eye. Now take a match, and try to block out objects by holding it a centimeter in front of your eye; it doesn't work - you will see a diffuse slightly darkened area, but all objects will be visible.