Just be aware that the security benefits that you're getting on a Hot Wallet with 2FA will be reduced based from your machine's security alone though.
I understand what you mean, but someone who has 2FA in their Electrum wallet should be far safer than someone who doesn't when it comes to the security of the device on which the wallet is installed. Even if someone compromised their computer with malware/virus capable of stealing any sensitive information regarding the wallet, they would not be able to steal the coins since the last piece of the puzzle is located on another device that generates 2FA.
In some more sophisticated attacks, the hacker could try to get the data related to 2FA if the owner is naive enough to hand it over to the hacker. It's no secret that there are those who fall for the cheap tricks of the Electrum customer service.