Yes. Having syphilis does not give you immunity from getting syphilis again.