Based on feedback from @dbystedt, include this in 2.92 with some updates (coming next).
eevee_cryptomatte_shading_group_create