I don’t have first hand experience on this matter but from what I’ve read so far in this forum, many people were able to submit their passport to the closest Visa office wherever they were. May be someone else can chime in, or you can call IRCC to make sure.