Is catnip a compound word?

Yes. Catnip is a compound word.