Sort of. The insurance payment reduces the cost basis of the replacement asset. Refer to the Pub mentioned above.