Is afford an adverb?

No, it is not. It is a verb (to afford).
The adjective form "affordable" has an adverb form, affordably.