Dear aspirant,
Yes an electronics and communication engineer can do masters in artificial intelligence /machine learning and there is no restrictions to it. The only thing you need is the correct strategy and proper interest. You need to learn good level of coding exclusively. You can do courses on Coursera .
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile