Ethereum changes the cost to use the network based on recent block sizes, and allows the block size to go up during high demand. So it's cheaper to use the network when blocks are less full, and more expensive if blocks are mostly full. I'm behind on the current parameters, but they're essentially doing what you ask for:
https://eips.ethereum.org/EIPS/eip-1559