According to the IRS, you can deduct any expense that is directly or indirectly related to your profession. However, when it comes to deducting childcare expenses, you can simply claim the
Child & Dependent Care Credit.
For example, Amy sends her 3 year-old kid to a nursery school while she works. The nursery school provides lunch and a few educational activities as part of its preschool childcare service. The lunch and educational activities are incidental to the childcare, and their cost can't be separated from the cost of care. So, she can count the total cost when she figures the credit.
Similarly, in this case, Donnya is a Mom Influencer who creates content on parenting and as a social media influencer, she often has to travel for work by leaving her kids in daycare or after school childcare. So, she can claim the Child & Dependent Care Credit to deduct the cost of daycare from her taxes.