Is it safe to wear a sleeping eye mask that puts pressure on your eyes while you sleep?

Probably. Most people with normal eyes, can tolerate an eye mask. Patients at risk for glaucoma, or who already have glaucoma probably should not wear anything that increases eye pressure.
Yes. Its safe to do so but not sure why one would need it regularly.