Yes, defeated trainers in Pokémon Diamond respawn after a variable period—some immediately, others after days or weeks. Revisit the original battle location; if the trainer has reappeared, you can challenge them again.