Yes, ECE students can sit for placements in IT companies and many of them even get selected in top companies as there are very few core companies visiting the campus.
Most of the recruiters don't discriminate between ECE, IT, and CSE students and allow everyone to attend interviews. While some companies like Directi, Libsys didn't allow ECE students to attend interviews.
Major companies like TCS, Infosys, Accenture, Josh Tech accept students from the ECE department and allow them to attend interviews.
If you are interested in coding, use the internet to learn rather than depending on the college. Join MOOCs from Udemy, Edx, Coursera, etc. These will make your CV appear more appealing to the recruiters.