I have seen this done a few times. Someone even posted a photo here a while back. Not sure what code section it would violate. I have also seen something similar with conduits run through pull boxes.
Hey Rob do you recall when that picture was posted and what the response was