Just to be clear - when you say hosting I’m assuming you are referring to a custom domain?
But yes, you can cancel anytime - just click the delete icon in the custom domain section and it will be removed from your account - after which you won’t receive any more charges for the custom domain!