Ok, thanks for the elaboration, I get your use case and see also some value in making such things easier in Proxmox VE - but this needs a bit more thought to avoid over specializing it and having a sane integration with existing permission/user/group system, e.g., the first three options popping in my mind would be to either add such a group (list) once a new user gets added in a realm, the other would be to just imply it/them for all users, allowing to add/remove them for existing users too, the third would be to allow adding permissions to realms themselves, as those can effectively be a group of people.
I mean, for LDAP/AD we can already import groups and assigning people to them, with OIDC that's just not possible in a general way as such a thing is not part of the standard and vendors either use some custom stuff or just do not support it at all, a bit of a shame as that would be a relatively simple and already existing way to implement your use case.
If you want you can open an enhancement request over at
https://bugzilla.proxmox.com/, but I'd figure that this would be a bit lower on the priority list, so do not expect to have that solved relatively soon. If you do so please also refer thos this thread for reference - thx!