Homecoming

Is it okay to ask a close guy friend to homecoming even though we’re not together? Also, is it okay for the girl to ask the guy????