Yes. After you press enter to install XP and accept the EULA, it will search for installed versions of windows. If it finds one, you will be given the option to repair it.
A repair install basically restores all the system files to their original state when XP was first installed. It keeps your data intact although it is always good practice to back it up.