The need for additional capacity in motorway networks during periods of high demand is unavoidable if congestion is to be prevented. Increasing capacity by building new roads is often infeasible, leaving operation-based traffic control measures as the primary approach to exploit the existing infrastructure. In this paper, the novel concept of dynamic lane configuration is introduced, which opens a new avenue in motorway traffic control that harnesses the infrastructure for traffic improvement. The lateral capacity of the existing motorway infrastructure is under-utilized due to lanes that are much wider than the vehicle's width. Dynamic lane configuration suggests that while current wide lanes ensure safety during high-speed driving, lower speed limits can be actively imposed during times of high traffic demand, allowing the lane width to be reduced, thanks to the reduced required lateral gap between vehicles at lower longitudinal speeds. By narrowing the lanes prior to congestion, it is possible to reclaim wasted space and add lanes to the road, leading to a dynamic capacity increase during the operation. This dynamic infrastructure layout with demand-responsive lane configuration during operation bridges the traffic management and infrastructure design. A model-based optimal control approach is developed to model the dynamic lane configuration and to define the times and locations of changing lane configuration. The proposed approach is tested in a simulation environment on two different motorway networks, each with a different configuration and demand profile. The promising results indicate the potential of the proposed approach in congestion mitigation and reducing travel time.