Let's say I have an imported-type electrum wallet, how many private keys can I import to that wallet, if there's a limit to it?
Theoretically, no. A wallet is simply a collection of private keys (or a root key + scheme to derive more private keys, such as with BIP39 wallets).
However, after a certain point, you will start facing issues of scale. Most wallet applications will struggle to index transactions for hundreds of thousand or millions of addresses. Exchanges and other companies that deal with that many addresses will often build out special software tooling to handle tx indexing, coin selection, security, and other use cases that go up in complexity as the number of keys increase.
But from a purely crypto point of view, nothing prevents you from having any number of addresses in a wallet.