No. An employer may not exclude an employee from the workplace involuntarily due to pregnancy. Pregnancy discrimination is considered sex discrimination and is prohibited under Title VII of the Civil Rights Act.
Even if motivated by an altruistic concern for the employee, employers are prohibited from singling out workers on the basis of pregnancy for adverse employment actions. This includes involuntary leave, layoff, or furlough.