There are plenty of projects like that. Gitlab, for example, has an open-source "Community Edition" and then "Premium" and "Ultimate" editions which they charge for.
And even if it's all open source, there can be branding issues like Moodle and SugarCRM.
And even if it's all open source, there can be branding issues like Moodle and SugarCRM.