This is a fascinating thought. The manner you answer this question will hinge on the word "with" and whether it should or can be replaced with the word "to."
It is possible to be a good friend "to" almost any person. Being a good friend has some qualities such as selflessness, patience, speaking the truth with love, putting the other person's interests before your own, caring regarding the person and so on. I can be a friend to my spouse, my kids, my boss, my coworkers, and the people in my church, the cashier person at supermarket.