Erasing EMMC using dd commands in linux

I would like to erase the contents (or at least the boot area) of EMMC in which there is a linux installation. It was suggested that I could use the following sequence of commands to achieve this:

$ sudo dd dd if=/dev/zero of=/dev/mmcblk0boot0 bs=1M status=noxfer
$ sudo dd if=/dev/zero of=/dev/mmcblk0boot1 bs=1M status=noxfer
$ sudo dd if=/dev/zero of=/dev/mmcblk0 bs=1M status=noxfer
$ sync

Given that these are themselves linux command will I be able to run all 4 or will the linux installation stall after putting in the first line?

With no proper linux installed in EMMC I would then be able to run another OS from SDcard.