Yes - I have done them already. The "prescription" isn't actually legally binding. Your eye doctor is legally obligated to give you the numeric prescription on request for no additional charge.
The only other trick is getting the pupillary distance measurement. You can estimate this but I copied mine off the package from the opto lab the last time I bought glasses from an optician.
Proof of prescription is not required to buy glass in the United States, however it is for contacts. You can get those too without an official prescription shipped to a US address. It’s not legal but in most of the world contacts are sold OTC so they are not exactly hard to get ahold of.
How do you know if your current pair is "working fine", though? I've been wearing glasses for 20+ years and I'm not confident/aware/knowledgeable enough to know if my current prescription is, "working fine".