No, it's illegal for an employer to retaliate against you for asserting your rights under employment laws, such as filing a discrimination complaint or whistleblowing. If you've experienced retaliation, you may have legal recourse.