I looked into this, apparently it is a legal requirement in the US for contacts.
That said, for normal eyeglasses, there are many sites that offer eyeglasses without proof of prescription. I've been buying eyeglasses from Zenni Optical for almost a decade for my whole family. Most recently in 2021. I have never once even been asked for proof of prescription, I just punch in my numbers and hit order.