No, it is not legal for an employer to retaliate against an employee for taking medical leave. An employee can prove retaliation by demonstrating that they took leave and were subsequently terminated, demoted, or disciplined.