Are four gang plastic boxes stackable in a wall?
I don't see why it wouldn't be allowed under code, but any question like this can only be answered by your permitting authority. My experience is that inspectors are happy to answer such questions.