The simple answer is yes, you can re-enamel your toilet. But, if you want your toilet to have a fresh look, you need to consider the appropriate coating because toilets have poor adhesion capabilities.
You can prevent the toilet from rejecting the new surface; it just requires extensive prep work such as an all-over sanding and a toilet enamel spray.