Currently, it is impossible allocate access to multiple page groups or pages that are behind multiple paywalls at once.
For instance, a community has three courses organized in page groups, each page group is behind a paywall:
Course A
Course B
Course C
The community also has a “bundle” that includes all of the courses for a single discounted price.
Currently there is no way to grant access to all three courses at once should a community member wish to purchase the Course Bundle.
Edit. This is possible via automations, but is not a native function as it should be.