In general, yes.It probably depends on the Pecorino. German supermarkets have rather… bland Pecorinos, mostly.
In my opinion, Pecorino is the better Parmigiano, but you’ll need to find a really good shop.
However, the Pecorino Romano I purchased today - from a cheesemonger's - is Italian, and I buy it for use when preparing certain dishes.
Moreover, while Parmigiano Reggiano is excellent, there are a few specific dishes (Pasta Carbonara is one, Pasta all'Amatriciana is another) where the use of Pecorino - rather than Parmigiano - really does make an enormous difference, and is necessary to the flavour of the final dish.