As long as all of the source is available under FOSS licenses, yes. Free as in speech, not free as in beer, remember?
Question is, will Mozilla actually stick to that? What the paid features also be open-source, at least to whatever extent the concept of source code applies?