Max sub accounts per subscription

I’m building an app with subscriptions.
The basic subscription can create a company and invite 5 employees.
If they want more they need to upgrade their subscription.
Is this possible? Anyone who has some pointers on this?
I’m new to subscriptions.

Thanks in advance.

Store the subscription level and use that to dictate max companies and employees for the user.