Yes
They should still use VAR to freeze the moment if it is close, but, crucially, then allow the referee to make the decision, viewing it pitch side, as to whether the attacker gained an unfair advantage or not.
If a sensible change in the offside rule is required for that then so be it.
Sent from my iPhone using Tapatalk