There is no reason why you can't try, as you say it is just like nursing whilst pregnant.
Sadly I found it near impossible to express whilst pregnant, despite nursing thoughtout. I could hand express a few drops but not enough to leave for a feed.
HTH