Only if the body is on HMRC's approved list (List 3). Many trade unions are not on it, so their fees do not count. If yours is on the list, you can claim back the fee you paid yourself.
Examples on the list:
Royal College of Nursing
Nursing and Midwifery Council (registration fee)
National Education Union
NASUWT (two thirds of the fee counts)
UNISON, for Healthcare Sector members only (70% of the fee counts)
Not sure? Tell us the name and we check it for you, or check if your organisation is on HMRC’s approved list here.