Yes, it could've ended differently if the two families came to an understanding with each other. This would've changed the fact that Romeo and Juliet die, since you know, they were trying their best to get married secretly in fear that their families would continue fighting (maybe kill someone else).