I don't know of any violation in that setup. I've heard of inspectors that won't approve it, so check with the AHJ.

Would a Square D QO, 100-amp, 32 circuit panel work for you?

Dave