We currently let companies have wide leeway in what they negotiate for compensation with their employees (and contractors). But the problem that you think deserves to be banned is that some companies pay the people on parental leave?
Man do I have bad news for you, my company gives people bonuses when they have children.