If the defender deliberately tried to go through the back of the player, like Fonte did, then yes.So if a defender stretches to block a shot but is late and the shot is unaffected but goes wide and the defender hits the attacker after the ball goes out of play, a penalty is a fair result?
A pass in midfield 5 yards sideways isn't a scoring opportunity but if the player gets poleaxed in doing so then it's still a foul.