410.10 Space for Conductors. Canopies and outlet boxes taken together shall provide adequate space so that luminaire (fixture) conductors and their connecting devices can be properly installed.
If the luminaire had a flat base that effectively stopped the box fill at the face of the box I could see the concern but if this is a bell canopy there should be plenty of room, even for two sets of #12s.