The answer depends on a direct ban: you may not carry people in a cargo trailer. The rules allow carrying people outside the cab only in the bed of a truck with sides or in a box body, and even then only under certain conditions; for example, an open bed with sides must have fixed seats. A trailer is not among these exceptions, so the ban applies to it with no conditions at all: neither passengers nor people accompanying the load may ride in it