I've beat the Ottomans early to mid game only a few times before (once as Austria when their ally Aq Qoyunlu took one of the Ottomans claims in Karaman and expanded themselves into Qara Qoyunlu. Leaving Ottomans unable to expand east because their ally was in the way allowing me to declare on them via Hungry claim. Another is when I played as Poland and I allied Byzantium hoping to prevent Ottomans from growing and I got a free PU on them. I was able to ally with Austria/Hungry and Mamluks and just beat them down. Both these times I was a lucky with being the first being Ottomans unable to expand themselves and the second that I was able to get strong allies and just steamroll them. I also like to beat Ottomans at the start of the game as Mamluks while they have all their troops in Venice and I can wipe their navy alongside Venice and control the strait. I'm not the best player so most of the time I just avoid them or even try to ally them if I can and if they won't be expanding near to me anytime soon