Pokemon can inherit TM moves, yes, but only from the father. They learn:
- Level 1 moves.
- Moves that the child learns by level up, if both parents have them.
- Any compatible TMs, HMs and move tutor moves known by the father.
- Any egg moves known by the father.