Yes, police unions are corrupt because police are corrupt. This is not generally the case.
The police having a state mandated monopoly on violence only adds to the problem but the core issue is still there, and it’s hard to do checks and balances that just don’t erode to either regulatory capture, rampant bureaucracy, over efficient streamlining, or more often than not some mix of all three