When running on spare hydro, wind or solar power which cannot be accumulated or returned to grid, it can have some uses.
Maybe it would work if this was only one step in a larger processes. When energy is free, use it to make a ton of this crude oil and then process the crude with less energy intensive methods when electricity is expensive.