Yes. I have done it several times. Actually, when I flash the stock rom, after reboting, the bootloader sends me to a revert to factory menu and then the phone can boot to the stock system.
I suppose that this happens because I have a problem flashing GSI. In fact, after flashing the gsi image on the two slots, the phone can’t boot on the new system and it’s stuck in a boot loop. So I have to flash the phone back to the stock rom. I suppose that I made a mistake somewhere.
Edit : My bad, I flashed the wrong GSI images. I read the instructions too quickly : I flashed the treble_arm64_avN to the a slot and the treble_arm64_bvN to the b slot ! It may explain the corruption of the data partition.