Can I claim the dependent credit for daycare even if my kid only went for me to work about 15-20% of the year .. and other times just for social interaction ?

My child attended daycare mostly for social interaction and for me to have time to myself. I work nights so daycare mostly had no effect on my work. At times I’d work an earlier shift or out of state and my kid would attend daycare also. Is it ethical to claim the FULL amount I paid the daycare despite not needing them solely for work ?