of course not, otherwise why are these purses? usually hackers break into user, not wallets
I think both is the same of user getting hacked or wallet as if the user gets hacked automatically his all wallets are also get hacked as the hacker after getting control of your desktop will just go through your desktop and steal all your wallet details and hack them.
In some of the projects the developer itself put a virus in the wallet download so that he can get access to the users desktop and hack it.