Can I factory reset a modded Wii U?

Just wondering, I don't wanna brick my console