I sort of did it.
I'm self employed though and can very much choose my own hours and be flexible about it.
I worked during naps (including ones where she was alseep in a sling on me), at evening (between a zillion wake ups 8 and a bit at weekend. I did this from 6-11m, and at the begining I'd pretty much manage a full day albeit in short sections, but that was not achievable by the end.
I didn't do this from birth because my husband took shared parental leave, but as long as the toddler wasn't around, it wouldn't have been too bad in the early days. In my experience it gets harder over time.
What I will say though, is its rubbish quality of life. The things you might do during a nap, chores having some time for yourself, taking a nap yourself get replaced with work, which means it's very hard to keep the house tidy and everyone fed. It also means it's very exhausting, especially if you have a baby that doesn't sleep like I did.
You don't go out to play groups, baby massage, lunch with friends, all of those things that make maternity leave fun, because you're waiting to switch the laptop back on.
I couldn't have managed an employed job with set hours. You're not working 9 till 5, your fitting in an extra hour whilst bouncing and breastfeeding with a baby in a sling at 4:00 a.m etc.
Do it if you have to, if you have flexibility on hours, but if there's a practical alternative I wouldn't.