There is actually a requirement to splice an equipment grounding conductor anywhere circuit conductors are spliced in a box - 250.148
There is nothing in the code that says we cannot splice the EGC, however there are rules about not splicing a grounding electrode conductor.