The only person that can answer that question is the inspector if they are willing to approve it.
I would not do this and I would get my money back from the big box.
You might want to buy your panels from an electrical supply house but that is just a thought.