Question: are all freehubs the same size?
Answer: Within manufacturers there can be some. Many Shimano hubs use the same spline pattern and dimensions at the interface between shell and freehub body, and can have freehubs interchanged. Many of the common 8/9/10 Shimano freehub bodies are very close to dimensionally the same.