In Drupal 7, it was possible to override breadcrumb by a contextual filter. That feature is missing in Drupal 8. Maybe in Drupal 9 too, but I am yet to try Drupal 9.

Not sure any resolution happened already on it. I did not get any result so far.
It would be good if we get that feature back.