Is it okay?

Is it okay to initiate a conversation with the opposite sex even if it's just that? A conversation about simple things? Like how you're doing and what not and how the weather is. I feel guilty because I'm in a relationship when I just talk to someone of the opposite sex.