internal diameter, length, surface finish, temperature of the hot gas stream, changes in section, changes in direction, merge collector chape and design all combine to make for losses & effect on flow.
In the context of the turbo providing the airflow however, the sized to suit comes to play.
you wont find a BT manifold with 1.25" sch fittings for example. Its not a linear relationship between flowrate and frictional losses.... there will be a crossover where 1.25" fitting internal bore will be a restriction to ultimate flow.
much like an R32 throttlebody allowing more airflow for same boost over a stock one. Whether you have enough airflow to benefit from larger is down to turbo size.