I don't recall an explanation of WHY you want to do it, nor WHY the modems
MUST be internal, etc.
But it sounds like what you are looking for could be easily accomplished
with another PC., and some minor programming.
The added PC could have an internet connection, and a handful of modems
(internal OR external). It could then connect to the internal modems on
your PC.