Exactly, I've got a belt mounted twin pistol pouch that has a foam liner that can be removed if switching between slim single stack 1911 mags & pretty much everything else, which are usually thicker.
Once you've cut something suitable you'll probably need to secure it in the pouch with some double sided tape.
Obviously aim for a snug fit, be shit if you start dropping mags every time you break in to a run.