If you have appeared in the preliminary exam and cleared the exam, then yes, you are eligible to appear in the JPSC Mains Exam.