Yes you can definitely sit for IES exam but you have to give it in the category of Mechanical Engineering branch. As Computer Science Sstudents students have to give it in ECE branch.
IES deals only with core branches and that is why there is a little bit of confusion.
Regards.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile