Yes, this period of time is enough to crack the UPSC exam. You can study the entire syllabus in one and a half years. Moreover, you can revise the syllabus for the rest of the time.