No, it is not safe to plug a fridge into an extension cord. Extension cords are not designed to handle the amount of power that a fridge requires and can overheat, posing a fire hazard. If you must use an extension cord, make sure it is properly rated for the appliance and do not exceed the maximum recommended length.