Yes, they are totally different from each other as in pyromania there is no motive behind igniting fire whereas, arson is a criminal offense.