No I don't believe camming makes you or anyone else a bad parent. Being a bad parent is obviously a pretty subjective term, but I'd probably say that you're a bad parent (or one of the parents is) if your child needs to "get over" their childhood remembering it like a traumatic experience. So I'd say abuse, excessive arguments in the home, unsanitary living conditions, neglect, mixed messages from parents, unsuitable child care, irresponsible parenting, putting your child in an unsafe situation etc. Lots of parents are terrible parents, sounds really harsh but it's true. So I don't think many people can sit on their high horse and judge because you're camming to make some extra income.
Camming while having a child doesn't come under these unless your child saw you camming or cam across graphic images on your computer/phone.
Social harm could come up if your child's teachers, or fellow parents came across your images and no longer allowed their children to play with your child. Social harm could come up in the very rare case that as an adult/teenager they or their friends came across your images. This is so unlikely and at this point they probably wouldn't realise it's actually you if it were done such a long time ago. Just someone who looks like you. I probably wouldn't if I had teenage children! As the chances of someone finding you is reasonable and the kind of bullying would just be mean!
Where you could expose your child to harm comes mainly from the risk of stalking. My advice is not to ever post or send photos of your child anywhere related to camming. I've seen some camgirls doing this and to me it seems like too big a risk to involve anything to do with the sex industry with your children. Then again, I'm old fashioned and think you should limit how much you post photos of your child on the internet, even if it's your facebook. It's unlikely your child would be targeted, but why risk it? Just be extra careful with your personal facebook and anything online which could connect your camming self to your real life self.
Don't worry too much about your friend, it is hard to get over stereotypes. When I was a bit younger I didn't think you should cam if you have children, due to the potential negative exposure you could pass onto them. I didn't think camming itself was bad, just society's reaction to camming. There will be people who will hear you're camming and will instantly think you're immoral, greedy and worthless. Those people don't understand camming and are wrapped up in society's negative view of sex work. I no longer have those views because I've educated myself more on the matter.
At the end of the day, if your child is so young then there isn't much social harm that can come to them, it's much more beneficial to have a mother who is home during the day and still happily earning an income at night, feeling strong and proactive, meaning your child can have a better and brighter future with parents less stressed about their finances.
50 years ago people would have said to any mother who's decided to work part time that she's a bad parent and selfish. They literally would have same the same stuff as your friend. But countless amounts of Psychological research has shown that children form a stronger, healthier attachment with a mother who is happy and working, than a mother who is tired and unhappy full time in the home. Now it's common practice for both parents to work, with women gradually being less shamed for their choices.
This is literally nothing to do with you or you camming, it's just culture and people not liking new things they don't understand.