Do the eyes play any role in producing the visual experiences you have during dreaming?
Your eye doesn't play a part in your dream aside from giving you the basic images which your brain later used to form the dream. The visual image in your dream comes from your brain itself.