H1B Visa Stamping in Canada - FY 2022-23 lottery selected

All - I got selected in H1B lottery and petitioner filing the petition from A company. Now, I got opportunity to raise visa for Canada (WP) from B company (currently working) which will take 3-4 months for stamping. As H1B stamping takes at least 6-12 months to process stamping, if I get Canada stamping early and got opportunity to travel, Can I get H1B stamping at Canada even petition processing my profile as I am in India?

Thanks
Pavan