I think that position could blur the distinction, but the two types of mate are not the same thing. Here's an Anderssen's mate with no restricting pawn:
And here's an Opera mate with no bishop along the long diagonal:
So, while the two are different, in some cases I guess they can overlap.
Is this an Anderssen's mate or Opera mate?
According to Wikipedia, Opera mate uses losing's side pawn to restrict its own king. In this position, f7 fulfils that requirement.
But it also fits the description of Anderssen's mate.
I fail to see the difference between Anderssen's mate and Opera mate except for the blocking pawn.