Paying a fixed rate for electricity

Q: Is it permissible to enter into a fixed plan with ones energy supplier? By fixed plan I mean entering into a contract to pay a fixed price per kWh for any gas/electricity used during the coming year. The alternative is to remain on a variable plan, which means that the price of the gas/electricity fluctuates depending on market prices.