Of course it can. An on-target shot to the far left corner deflected info the far right corner via an attempted defender block, for example.
Depends on the deflection If it deflects a couple of inches beyond the keeper's reach, it's given to the shot-taker If it deflects in a completely different direction, or takes a wild spin so loops over the keeper, it's given as an OG