Nah, you’re 100% allowed to be attracted to whoever you want. One just might want to consider whether expressing that attraction in response to a woman being praised for doing a bang up professional job on the topic of sexual harassment is the best choice in the moment.