You can as long as the Azure AD groups assigned to custom roles have Azure AD roles enabled for them. If enabled, you can then leverage PIM.
Can PIM be assigned to a Endpoint Manager Custom Role
ANIL KASARAGOD PALLAM
1
Reputation point
we have created few Custom Roles in Endpoint Manager. Can PIM be assigned to these roles ? is there some way to achieve this.