They do that in electronics. There is a filter before the subwoofer amplifier that adjusts the bass behavior in a very similar fashion to how a woofer behaves with different sized cabinets. It’s just some basic equalizer circuitry. Great flexibility but requires your amplifier and driver to have plenty of headroom so you don't over drive it.
They also make some speakers you can convert from sealed to ported AND have a Q control.
In all cases the idea is to give you more flexibility and help the subs adapt to different rooms and placements.