Is there any way to get the ROLE_ID in access token?

Hi ,

Is there any way to get the ROLE_ID along with role name in access token?

thanks