But in football, the only thing that matters is the ground and the boundary. In basketball, a player can not “fumble” the ball and move their pivot foot. Then it becomes a situation of “passing to yourself”, which is an infraction. That would be a travel. Refs miss that frequently.
Sometimes in the open court going toward the goal for a layup, the player will pass it to themselves down court. I would argue that’s a travel, as long as the pivot foot has been moved. Unless the pass down court is determined to be a dribble, then the dribble can be continued or the ball layed in without further dribbling.