Custum Topology

Hi, is it possible if we have 2 routers, on different distance from coordinator, to program the network, via the coordinator/gateway, in such way, that the router, that is closer to the coordinator, to take the data from the second router and then to aggregate and transmit all data to the coordinator?