User Management - Template creation combining Role and User Permission

Hello the community,

Is it possible to have some kind of Template or User Profile defined that will combine both a Role Profile that can be based on roles, a list of allow modules and a set of user permissions.

My use case is to be able to create users using a template in order to assign them a group of existing roles (done with creating a Role Profile), a list of authorized module (can only be done for each user individually) and a user permission that will restricted documents to those belonging to a company (done via creating a user restriction based on company name and done at each user level).

I am looking at a way to have a template in which i will include a role profile, a set of authorized modules and a set of restrictions to ease the creation of users.

Thanks