Yes, once the previous coating has been removed and the nails cleaned and prepped thoroughly, the bacteria is dead. All that remains is the stain which, though unsightly, is fine to work over.
Fungal infection is quite rare in fingers. It tends to like a warm, damp and dark environment to thrive.