In the 1990s, car stereos sometimes had a "loudness" button which did exactly as you suggest.
At lower volumes, we perceive mid-range frequencies to be more prominent than at higher volumes. The loudness buttons would add lows and highs and/or lower mids so that the music would "sound better" at lower volumes.