Can you discount a homeschool co-op class in lieu of paying the teacher?

Can a homeschool organization offset a teacher’s pay by giving her discount for her child to attend classes?