cuddling

Is it okay to cuddle with your gay best friend who is also your close friends ex? He and I are both pretty gay right now... but we joked about watching movies and cuddling together because we're lonely. Is that okay?