Yes, to some extent if you have nothing else although hand sanitizer, soap and water is preferred.
Hand sanitizers need at least 60% alcohol to be effective. According to industry standards, there is at least 70% alcohol in many commercial fragrances, such as Eau de Toilette and Eau de Cologne. They are just as safe and effective as hand sanitizers and have high alcohol content.
No other ingredients in perfumes have germs strong enough to survive the alcohol content. Besides, the ingredients in perfumes made according from regulated manufacturers and laboratories. The fact is that alcohol doesn’t kill some viruses because those viruses they are not surrounded by a shell , they are much more resistant to disinfectants than bacteria. However, The Scientist- Professor Bloomfield has said that unlike others, Covid-19 is an envelope virus, meaning it has a coating around it, which the alcohol can attack.
During this uncertainty pandemic period, if that is possible, wash your hands thoroughly with soap and clean water for at least 20 seconds. Or, using an alcohol-based hand sanitiser. Alternatively, just a spritz or two sprays of your favourite perfume on each hand - you don't need a lot of it.