To answer, yes, there certainly are rules in place with respect to how high containers can be stacked. This is governed under the International Convention for Safe Containers. That provides information related to the safety plate permanently attached to each container that would—
On March 29th, 2022. See this statement in context.