Andrew M
Yes, you can but they don't work very well inside the cockpit as they rely on UV light to activate them and most of the UV is blocked by the windscreen (same in the car).
My everyday specs are of this type and they work very well outdoors but not in the car or aeroplane.
I have a pair of perscription sunglasses for flying and use my everyday ones as my spare or the reverse on really dull days.
C-I-M