No, Firefox is successful because it's lineage from Netscape, and then subsequently releasing its browser during a time when the only competition was terrible. If Firefox had started today it would have the same problems as Vivaldi.
Firefox definitely does benefit from community contributions (a lot), but the vast majority of the important code is written by paid employees.