Yes and No... Simple physics my dear :)
As mentioned, it depends on the powder burn rate. Target loads use fast burning powder, so longer barrels offer no increase in velocity. Heavy goose loads use slower burning powder and need 30" to provide good burning and pressure. Dove and quail loads use quick burning powder. Pheasant loads vary by brand, Winchester shells are softer hitting on the shooter due to slower powders used.