There are billions of possible hardware configurations and billions of use cases for an OS. No OS will ever be able to work on all of these combinations flawlessly, I’m just saying that on average you have the best chances of everything working out of the box if using Ubuntu and even if not, there are the best chances that you find help online for your problem on Ubuntu, but there are of course cases where other distros will be better suited.
LibreWolf is a Firefox fork with features removed which we don’t want (Telemetry, Pocket, …) and a few (privacy) features enabled (which can be deactivated if they’re too annoying). I didn’t had any issues with Firefox extensions as well.
I’m currently using it on Debian and it runs smoothly. Recent Ubuntu versions are also supported and you can install them via your package manager, see here.