Carpet can deaden foot traffic noise and high frequencies but as far as helping to tune a room for mid-range and low-end frequencies for audio enjoyment, it's not much help.
Per square foot, carpets are far less effective than dedicated acoustical panels, but even if we say it's "only" effective above 1 kHz, that's a good thing, especially when the floor is a glaring first reflection point and should not be neglected.
Still, the overall tonal balance of a room, and even your ability to hear if a carpet is there or not will be determined by everything else.
I'm not here selling rugs. I'm suggesting if you haven't tried treating the floor behind and between your speakers, for some this can be good. Also, not here to debate the point forever. Just try it and if you like it do something more.