Name change application processing while travelling?

Hello. I live in Vancouver.

I plan on travelling to India but am going to submit a name change application in a week or so. So what's going to happen is that it'll get processed when I'm in India. Can I get a new passport at the Canada embassy?

I can't wait half a year for the name change to come through and plan on living in India for at least 3-4 years.

Please DM if you have experience with this / advice. Thanks.