extended warranty

Extended warranty

Q: Is it permissible to purchase an extended warranty at the time of purchasing the item (in such a manner that the fee for the warranty will be regarded to be part of the purchase price of the item)?