Autoconfiguration is available for event subscribers in Drupal 10.2
https://www.drupal.org/node/3357408 →
Closed: duplicate
2.0
Code
Being fixed in one merge request on parent issue.