I did it at work a couple of times when my pump malfunctioned or I forgot a part. I got less than pumping but usually "enough". This only worked when I was EBF, after solids were introduced and nursing reduced, it didn't work as well.
Also, it is a pain. I hated it. It was a lot of work.