Yes it is, but death is only the beginning of their punishment, for it projects them to their Judgment Day before God immediately, and then comes the real punishment of eternal hell.
....a beheading would be more appropriate.