Here's a list of "hacks" to do it.
1- Always go Tradition. There's no room or point in settling fast cities against Deity AI. If you settle 5 cities fast, they will HATE you instantly and all gang up on you unfairly and stupidly.
2-Always pick Order ideology. All the AI only pick Order or Autocracy. If you pick Freedom ideology, you will suffer up to -43 unhappiness and all the AI will also war you and hate you in the late game. It's completely stupid. If you pick "order", then they will leave you alone and friend you.
3- You can almost always build the Sistine Chapel. I don't know why but the AI don't build this until turn 150+ It's the only wonder you can always get every game if you play well.
4-Always get first ideology by popping Radio with oxford or rationalism or a scientist. The AI almost never researches deep into tech trees, they just research every tech before they go deeper in the tree so this lets you reach information Era first. AI get ideology around turn 180-200 on standard, easy to beat.
5- Always use internal trade routes for food to your capital and then other important cities
6- Before ideologies you can usually bribe your neighbors into attacking someone else. After ideologies, if you didn't pick Order, they will all attack you nonstop no matter what. Great game design I know lol.
7- If you're feeling extra cheesy, park your lvl3 spies in city-states you want, try to flip it by doing a "coup" and then reload if it fails. The game is programmed to decide at the start of the turn if it works or not, so every turn you can try and it'll randomly work. This is definitely cheating though but this saves you like 30k gold.
8- Don't be afraid to take loans from the AI to rush buildings and buy tiles. On standard they will give you 25 gold for 1 gpt, 51 for 2, 76 for 3 etc ( if they're your friend). This is not always correct but can be very strong. For instance early you can be making 5 gpt and you're 100 gold away from buying a settle. If you wait, it'll take you 20 turns. If you take a loan from an AI, you can buy the settler right away. That city now gets 20 turns of free growth and production, and secures the settle spot, all for a net loss of 20 gold lol.
Anyway hope someone finds this useful. I just played a wide liberty game with Russia where I made 12 cities and went Order on a huge map. Won turn 234. Every single AI next to me attacked me and the leader even took one city from me. The crappiest city of all time, but still. Going wide is rewarding for how much science you make later on, but unless you're on a Huge map, there's no room for 12 cities and the AI will all try to murder you relentlessly lol