Answer No they are not legal and could be dangerous. The rules allow skull caps to be worn under the helmet that are specifically manufactured for that purpose as long as they don’t alter the fit of the helmet and are not exposed outside the helmet.