I don’t think there is anything preventing Harris from voting for her own nomination.<p
The problem for the Dems would be replacing Kamala, because once she’s no longer VP, there is no more tiebreaker.
Add to that, they would have to nominate a new VP and with McCarthy next in line come January sans a VP and an infirm feeble Biden, why would they?