I think most normal/adult people don't want to live in a world where you can't ask out your coworker.
I would expect that the overwhelming majority of normal/adult women in tech want to live in exactly that world, and I certainly want to live in a world where roughly 50% of people in tech are women. So it only takes a few men to agree to make it the majority.
IMO being professional is more about how you handle the situation if the relationship goes south or never gets off the ground. PDA in the workplace is also unprofessional, obviously. But asking someone out? Doesn't seem unprofessional tbh.