No ATP is not a nucleic acid. But, it can be called so because, like DNA and RNA, which are actual nucleic acids, ATP also has a nuclear base, a ribose sugar, and also phosphate group.