Breast milk question

Jovanna • I'm from Northern California and I'm currently experiencing my first pregnancy

I'm not producing as much breast milk as I was hoping but a friend of mine has gallons of her breast milk. Is it okay to use her breast milk instead of formula? Or what would you do in your opinion?