Answer
Yes, Cosimo de' Medici had many enemies, both within the city of Florence and outside of it. In Florence, the Pazzi family was particularly opposed to the Medicis, and they plotted to assassinate Cosimo in 1478. The plot failed, but it did cause a great deal of political instability in the city. Outside of Florence, Cosimo was also opposed by the powerful families of Milan and Venice.