Detecting Historical Tag Changes with Overpass: possible?

To all the Overpass experts out there: can a single Overpass query detect changes in historical tags?

e.g. I would like to identify all ways in a given area currently tagged as X=A that were previously tagged as X=B.

I know it’s possible to query back to a specific time (retro function), but I’m not familiar with any syntax enabling queries on past versions.