Colostrum before baby arrives?

Is it okay to pump and collect colostrum before the baby is here?

I read to do it once a day for 10 minutes around 36-37 weeks?