The gap limit is used because there are practically infinite addresses you can generate via Hierarchical Deterministic generation. If you didn't have a limit, the wallet would have to generate all of them, just in case, to see if any where used in transactions. That is impossible, there are just way, way too many possible child addresses.
Is there the possibility to set it up to infinity?
This is the same as having no limit, and it's impossible, as above.
would importing external private keys to my wallet, without scanning, and generating a single address per private key solve the gap limit dilema (in a Bitcoin Core wallet, for example)?
The gap limit is specific to Hierarchical Deterministic wallets, where you can deterministically generate many addresses from a single short seed. This makes backups super easy - backing up the seed means you've backed up all past and future addresses your wallet will generate. The seed is short so you can even write it down by hand. And HD has other benefits like being able to generate child public keys without access to the secret keys (useful for security, to avoid having secret keys "hot" on internet-connected devices).
If you just imported a few individual keys, you wouldn't need a gap limit, but you'd lose all the benefits of HD wallets. That's how Bitcoin Core's wallet used to work - colloquially known as the "bag of keys" model. HD is definitely the better way to manage keys.