This is an incredibly flawed thought process. Being offside is bad, so you should be offside less. Using Vardy as the example there's 2 big flaws.
The first and most obvious is that you've decided being caught offside is Vardy's fault, when just as likely it's Maddison or Tielemans or whoever not timing their pass correctly.
Secondly, Vardy knows that making his run with the timing he has means he might be offside 0.9 times per game, but he doesn't care because he also knows that even if there's a 50/50 chance of being offside when you're making the run that tight, the extra head start he has on the defenders means that the chance it creates is much more dangerous.
Because being put through on goal is such a big goal scoring chance, and because goals are so valuable, it's worth Vardy getting caught offside very often if it gives him a marginal increase in converting the chances when he's onside.