Combine Menus in mobile App

I have an app with a bottom navigation bar that contains the 5 main features. Now I am increasing the number of features to 7. Is it okay to keep the 5 main features visible in the bottom bar, and to add a hamburger menu for the less important features and settings, legal info, user profile, ...? Or should I move everything into the hamburger menu?