Yes, M. Com can be done after obtaining specific permission from ICAI by filling form 112, and deposit at the office of institute ICAI, within one month from the date of joining the College.
Detailed rules are given on institutes site, https://www.icai.org/post.html?post_id=721&c_id=120 From the site you can download form 112 and instruction both.