This has always been possible in previous civs, and is pretty essential to diplomacy. What good is having friends if you can't ask them for help when you're under attack? I know defensive pacts exist but that's much later in the game and a different kind of thing.