No, attorney fees for obtaining custody of a child are not tax deductible.
Only legal fees incurred in attempting to produce or collect taxable income or that are paid in
connection with the determination, collection or refund of any tax are tax deductible.