There are a few brands that make exactly what you're describing, including Shure and Westone. A lot of times the in-ear piece they come with is rubber rather than foam, but you can buy foam replacements. Try searching "in-ear monitors." I find they work really well on planes, but I also use active noise cancellation like the Bose QC20.