In fact, at least on Fedora, firefox is packaged with vaapi enabled by default:
https://fedoraproject.org/wiki/Firefox_Hardware_acceleration#Video_decoding
The packages needed for actually having it active are not installed by default, however, so you still have to undertake some action to actually get it to work (described on the page above).