Is greedily a noun?

No, the word 'greedily' is the adverb form of the noun greed. The adverb greedily modifies a verb. Examples:

adverb: He greedily gobbled his porridge and asked for more.

noun: Greed is addictive, the more you get, the more you want.