Garlic is roasted in its skin primarily to reduce the risk of it burning during the roasting process.  Plus, it’s really easy to remove the remainder of the skin after roasting is complete.