Yeah, that’s absolutely already a thing for regular Joe Schmoe hearing protection. I have a pair. They’re big earmuff types though, not earplugs. I suppose they very well might exist now too.
The fun thing about them is you can turn up the volume and essentially have super hearing while still keeping gun shots quiet.