Better not. The manager would have to consider finding someone else to do your work during your maternity leave. That's extra work for the manager, most likely he/she would offer the position to someone without such problem. Of course he/she wouldn't say it in words.