Hi,
Sorry for the late reply. Unfortunately i don’t know but according to this guide How To: Flash a Sonoff Mini to ESPHome – 2021-01 version it kind of indicates that it should (looking at “The OTA process I used” step 2, 3 and 4). But i really have no idea as i only have R2s, sorry.
BTW, thanks for adding the linux method @jpeletier looks way easier if you have a linux/mac box