no vision insurance ?...

if i know my numbers to my vision to buy eye glasses or contacts, and I DONT have insurance, can i buy contacts and glasses online??