Hi aspirant,
See in general there are no restrictions on choosing the branch for the mtech program irrespective of what branch you had in bachelor's degree. So yes you can do mtech from any branch after completing BTech but in some universities there are some prerequisites that are needed to be fulfilled. For example some top colleges give admission to only CSE, IT, ECE graduates in the master's program for CSE because they believe it will be difficult for a newcomer to understand the concepts involved in that topic without some prior knowledge.
Hope it helps!!
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile