Yes. If you wear a prescription, you can have blue-light filtering added to your prescription lenses, so one pair both corrects your vision and filters blue light. You don't have to choose between the two.
If you don't need vision correction, a quality non-prescription pair works fine, or you can wear one over contacts. Either way, the same things matter: real, stated filtering, a warm lens for evening sleep protection, and good optical clarity so there's no distortion over a long day.