As long as you do not violate copyright laws by publishing the music, YouTube allows you to publish gospel music. YouTube allows users to publish self-created videos, including gospel music, as long as those videos do not violate community guidelines that include following copyright laws and restrictions.
YouTube's community guidelines list no specific prohibition on gospel or any other type of music. YouTube has a published list of community guidelines that prohibit obscene or offensive content and content that encourages violence or threatens violence against others. Gospel music usually does not violate any of those restrictions.
YouTube has a strict policy against copyright violations. That means that if a user does not own the copyright to the gospel music or obtain the necessary permissions, he may not post the music on YouTube.