There is nothing wrong with it as long as you’re respectful, that is how people met for most of human history after all. Be prepared for rejection and know how to take no for an answer. I’ve been approached by men quite a few times and even when I wasn’t into it it still led to an enjoyable conversation, a lot of women will admire the confidence it takes to approach a stranger