What you are refering to is the well known phenomenon of traffic waves or phantom jams. The UK has all but eliminated them with variable speed limits without the need to make every leave half a mile gap between each car.
https://nationalhighways.co.uk/road-safety/variable-speed-li...