Hello . .
I've worked on shipping per box previously, the idea was that admin decide box capacities in dashboard, then each time users goes to checkout page, the site would calculate total weight of all product that available to be stacked in a box and show the cost per box instead per product weight
I think this project would be similar as well, would love to discuss further details regarding your shipping requirement,
Thank you and regards,
Eni