Yeah, I get what you mean — buying a lot of physical SIMs is expensive and annoying. Most people now just use virtual numbers for OTP instead, since they’re much cheaper and you don’t need real SIM cards.
Free ones exist, but they’re usually public and unreliable (codes don’t arrive or numbers...