Yes, a mediator can assist in writing a separation agreement. While mediators facilitate the discussion and help draft the terms, the final agreement should be reviewed by a lawyer to ensure it meets legal standards.