State laws protect the right of citizens to cast secret ballots.
Many states include some type of tracking number for each absentee or mail ballot, often on the envelope. But once the completed ballot is received, elections workers separate it from the envelope to protect the voter’s privacy.
https://www.politifact.com/article/2022/feb/01/claim-about-serial-numbers-ballots-misguided/