"Turn off Lights" is a Browser Extension that allows you to do this.
It is available for most of the browsers out there.
If you do not want to use extensions, you can check out GreaseMonkey Scripts. Ones like YouTube+ support this feature.
Default video quality
Set your preferred video quality and the player will load by default the selected quality or closest to it if the chosen quality is not available.