Technically speaking, yeah — the shooter can't cross the line until the ball hits the rim. This is less to prevent dudes from dunking their free throws (which would not really be a high-percentage shot) and more to prevent them from just chucking it straight off the rim back to themselves to regain possession.