Yes, lineups can be altered until the umpire delivers the lineup card to the opposing manager shortly before first pitch. After the lineup card has been delivered to the opposition, changes to the lineup can only be made in accordance with the in-game baseball rules governing substitutions.