pumping

is it ok to pump every 3-4 hours? my baby is 3 months old and was ebf but she’s happier with a pumped bottle. every two hours only gets me 2-3oz but every 3-4 gets me a good 4-6oz. I still feed on demand at night