Answer: Yes.

Students who begin their programs between September 1, 2022 and August 31, 2023, or apply for a study permit before August 31, 2023, will be able to complete up to 50% of their program online from outside Canada without affecting PGWP eligibility!
Studies completed online from outside Canada starting on September 1, 2023, will be deducted from the length of a future PGWP.

Please refer to the IRCC website for more information:
visibility_offDisable flashes
keyboardKeyboard navigation
titleMark headings
settingsBackground Color
zoom_outZoom out
zoom_inZoom in
remove_circle_outlineDecrease font
add_circle_outlineIncrease font
spellcheckReadable font
brightness_highBright contrast
brightness_lowDark contrast
format_underlinedUnderline links
font_downloadMark links
Reset all optionscached