Most babies spend a lot of time sleeping so you can probably get some work done, but if your child needs you you are going to have to drop what you're doing.
There is no problem if you are honest about this and your employer accepts it, but just as somebody can hold multiple jobs and not come clean about it, it seems like a parent could also dissemble about it.