No. Gankers don't gank because it's "meaningful". They do it because they want to.
They want to because they don't wanna do something else. The OP is correct, many of the gankers (and non-ganker PvPers) wish for challenging AI. As it stands now, PvE is neither rewarding nor fun. It's easy mode, there is no challenge and while PvP has no reward at all, it is still more challenging to gank a player before they can combat log than fighting NPCs you know you will beat anyways. Assuming combat logging wouldn't exist, it's still more challenging to hunt down palyers before they escape as NPCs don't really escape before their modules are shot out or if their hull is too low ... if they attempt to escape at all.
Having challenging PvE (and the connected higher reward of lots of G5 materials or exclusive materials for the tech broker) would draw more attention from the gankers. But as it stands now, gankers gank players and while it is still incredibly easy, PvE is even more of an "unchallenge" than ganking.
Also, salt can even be claimed as a new currency of trophies.
If FDev would finally do something about it, everything could stop. Offer content for a wider variety of groups, not just the simple main paths of combat, trade and exploration. What about territorial control? Political simulations? Escorts? So many potential rich gameplay elements that are denied by the lack of meaningful content. Basic functions like player trade or consequences of choice simply do not exist thus making everything plain straight forward, too simple and flat and basically unchallenging .. basically PvE.
So with challenging and rewarding PvE, we would have atleast one attention drainer for not only gankers but for everyone that doesn't enjoy the grindTM of Elite. Even farming explorers and traders that refuse to invest in proper equipment (and their salt) can be described as a grind.
But oh dear, we had improved AI and the cryout was just the same as the DG2 madness we have now. People need to accept that they are not the best, that there are people far beyond their capabilities and that their skillset is way too insufficent for some purposes. But no, players don't like to lose so the difficulty level was lowered back then. The result, unskilled players still have a chance against Elite ranked NPCs ... however, not so well against any kind of mediocre PvPer. And this is why we have the DG2 drama. Players don't like to lose and that is the origin of all our issues.
I doubt we will ever be getting challenging PvE. Even thargoids are too dumb to realize they are being kited. People are killing them in sidewinders. And even a Hydra will be kited for hours. And once you killed it, so what? Do you need credits? Do you need these materials? The answer is no, you don't. There is no reward for hunting Thargs (I wanna side with them any, so that's fine ... but again, I can't do that). Likewise there is no reward for doing PvE, so gankers don't do it. Instead, they gank and the reward is higher than anything else in the game. The OP is completely correct in the statement that having better PvE would certainly draw a ganker's attention. But that's only a really small step into the right direction. The root of the problem lies somewhere else ... and I believe I made that point 5 minutes ago.