No, it is an adjective. The adverb form would be
"accidentally."
Accidentally is an adverb. It must have the -ly ending.
Think if I said, "I hit him accidentally."
Accidentally is describing the verb, which is hit.
Since accidentally describes the verb, it is indeed an
adverb.