Is there a noun form of the word fancy?

Yes, the word 'fancy' is a noun as a word for a feeling of wanting or liking something, or something that you imagine or dream about.

example: It was just a passing fancy.

The word 'fancy' is also a verb (fancy, fancies, fancying, fancied) and an adjective (fancy, fancier, fanciest).