Action to intercept ID Token on a OIDC flow

I have an application which I will allow customers to configure their internal Id provider via OpenID Connect. I was experimenting with the “Enterprise Connections” where I set up a second Auth0 account (let’s call it “external Auth0”) and everything worked fine out of the box.

However I would like to map some custom claims from the ID Token to the Access Token, similar with what we can do with SAML mappings.
Ideally I would like to intercept the ID Token issued by “external Auth0”, extract the custom claim and add it to the Access Token so that my application can see it.

Is this possible?

thank you