Yes definitely. GATE allow the students studying in their 3rd year or above in any domain to give the exam.
Here is the official link if you further have any doubt:- https://gate.iitkgp.ac.in/eligibility_criteria.html
Eligibility | Application | Exam Pattern | Admit Card | Preparation Tips | Books | Question Paper | Accepting Colleges
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile