I tried, but Alexander just ran away with things in my game.
Augustus attacked Alex in 75 AD. In 250 Alex called an AP vote for war against Augustus. I decided to go along with that (planning a phony war on my part, while I continued to beeline for Cuirs) and the vote passed, bringing me and Hammy into it. Hammy made peace in 940, then Gilgamesh joined the war against Augustus in 1020. HC had an army heading my way, so I gave in to a demand for tech in 1060 for 10 turns of peace. I researched MT in 1150, but without enough gold to promote as many HA as I needed to. Rather than attack one of my neighbors, I sent the Cuirs I could upgrade against Augustus. I captured Cumae in 1220...and Augustus immediately capitulated to Alexander.
While debating what to do next, HC declares on me and captures Cumae. Hannibal joins the war against me in 1260. I give a tech to Alex to declare on Hannibal, and I recapture Cumae. An AP vote brings Hammy into the war in 1360, then Hammy inexplicably turns on two of his allies, Alex and Augustus, while still fighting Hannibal. I sign a ceasefire with Hannibal to concentrate on HC. Hannibal capitulates to Alex in 1480, then HC capitulates to me in 1500. A vote to stop the war against Alex passes with my support in 1525.
I'm researching Steel, planning for cannons for the next round of war, when Alex/Augustus/Hannibal declare war on Hammy in 1645. Not quite being ready, I turn down Alex's request to join in, although I do join the war in 1670. I capture Sippar and then in 1700 I capture Babylon...and Hammy capitulates to Alex.
Now, thanks to my hesitancy in the war diplomacy, Alex is cautious with me and most of his vassals are annoyed. He begins plotting.
He and his vassals attack me 1740. He has infantry and cavalry, while I still don't have rifles. I know I have no chance in this war. Although I do capture one more Babylonian city while Alexander takes two of the cities I'd captured earlier, I decide to bring the war to a merciful end by voting to give him a religious victory in 1780.