Yes, but in that sense, as a singular noun it means the lesson we learn from some incident/event/story, etc. It is not about morality as such."Moral" can be used as a noun.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: