A:
It is not permissible
to kill any harmful creatures by burning; because the Prophet (peace be upon him) prohibited torturing by the use of fire. However, it is permissible to kill such insects by the use of insecticides to avoid their harm.
May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.