As long as the player goes into the end zone IN BOUNDS, yes. We're talking about the Mahomes play if he dove and landed physically short of the goal line, but extended the ball past the goal line but outside the pylon. That would NOT be a touchdown. But if he hits the outer edge of the pylon, even though the pylon is out of bounds, it's still technically IN the end zone, and since this out of bounds but still in the end zone object exists, it extends the goal line four inches on either side of the field, so it counts as a touchdown.