Pumping while pregnant

I’ll be 39 weeks Tuesday, and wondering can I pump? I want to try to induce myself