Can my phone be securely wiped after an encryption?

I would really like to make my phone more secure. But at the same time I want to be able to wipe it any time. I’m afraid that wiping could brick the phone/makes it unusable. So is it safe to wipe the phone directly after encrypting it?