Yes. But this is only for extreme situations like this, coupled with video reply reviewing.
I love this sports and I hate seeing it fall apart with people learning to work the rules in their favour.
I'm all for video technology for goals/offside decisions. But I don't think any goals should be arbitrarily awarded just because someone "would have" scored otherwise.