If basketball players can hit half-court shots, why can't soccer players do something similar from mid-field?

We're not sure if Zach Lempka of Worland was trying to score, or just clear the ball out on this play...but the former happened, in a March 29th game vs. Powell.