A kick-off is neither a direct free kick nor an indirect free kick. Kick-off, DFK, and IFK are three different and distinct restarts in the list of 8 possible game restarts.
Your question appears to ask, "can you score on a kick off?" The answer is yes, but only against your opponent. You cannot score an own-goal on a kick off.
Chat with our AI personalities
The restart is a direct free kick for the opponents or a penalty kick if the recipient was inside of his own penalty area. It is also a send off for the player who spit.