It's a good idea. I think when companies ban employees from discussing pay with each other, it's because they have something to hide. That's my experience anyway.
I have also noticed recently that fewer and fewer job adverts these days seem to state the salary.
We need a lot more transparency.