Career advice

Planning to move to Machine learning career from Mechanical engineering at age 31. Is it impossible?

Yes it can be possible! One step at a time.