yes, heat treating means "finish grinding" for accuracy.
they can be nitrided, which is a fairly low temperature process, but requires the right types of steels to be used.
theres also "case","flame" and "induction" hardening, which only hardens the teeth themselves, with minimal distortion...