It is. Germany has no 'fruit of the poison tree' principle. Police can use whatever no matter how it was obtained.
For example, call recordings that were obtained without lawful permission can be thrown out and actually currently were in a highly visible case.
But I've mostly just got this from my wife complaining about it. There's very little structurally in place to prevent the police from abusing their power in germany, and when it comes to evidence collection, they are definitely incentivized to do so.