Breastfeeding and formula?

Rosalyn

So i breastfed my son for about 3 weeks and then i stopped and switched to formula he was in nicu and it was hard for me to get there everyday due to transportation. He is now a month old and has been home for about 2 weeks im still producing milk my question is is it ok to breastfed on occasion and formula feed also?