Pumping and coffee

Is it okay to pump and drink coffee at the same time ?