Uninstalled Debian

I connected the beaglebone black to my computer, then proceded to format it, to remove the pre-installed debian. Can I boot from micro SD card (with recovery installed), and then flash a custom image?