Yes, you can do this.
Here’s one way I did it.
Create a number of access rules, through the access rules manager, and apply the appropriate access rule to the relevant pages.
For example, imagine you have 3 user groups, let’s call them 3, 2, 1
create the conditions which allow the rule to be met, so rule ‘Group 1’ could be
‘Allow if <?php echo $_SESSION['userLevel']; ?> = 1
then create as many access rules as you need
In the access pages manager, you apply the rule to allow access if the condition is met or redirect (eg to login page) if it isn’t.
you can also do this with hierarchical user levels, so if you have a hierarchy, such as
member, admin, group admin, each corresponding to a different user level eg 3, 2, 1
you set up an access rule so that ‘group admin’ user level is 1
you set up an access rule so that ‘admin’ user level is 2 OR 1, so all group admins are also admins
you set up an access rule so that ‘member’ user level is 3 OR 2 OR 1, so all admins and group admins are also members.