I'm a lecturer, just back after maternity leave. I'm sure if I did this I'd be viewed as soft, baby crazy etc. Plus probably hauled in for a disciplinary as I'm sure babies aren't allowed in our teaching rooms.
There's also no way I'd give as good a lecture as usual, disadvantaging the other 45 students in the room...