Yes you can.
You can use Securoty rule in the QMC and have rules assigned to roles.
There are two steps to it.
1. Create your own security rule.
2. Once you create the rule, then you need to add a condition at the bottom rule. Add a condition : Role equals value <Anything>
Once you add the role, it will be visible under users.
You can check the whole process here:
Thanks and regards,