No reasons why not although many docs will advise against, however, your eyes develop significant forces internally when sleeping.
Every night we all go through rem (rapid eye
. The eyes move back and forth rapidly generating tremendous forces within the vitreous.
This is my rationale with my own patients, your doc may disagree.