In the private sector, with multiple employers, perhaps (though very few offer pensions any more). In the public sector, you would essentially be getting paid twice and multiple pensions by the same employer (the taxpayer).
I think the issue is the 'you should not ...' part. I don't see it as a moral issue.