Can we produce energy by red-shifting light

The answer on my question Does light accelerate as it nears a black hole? leads me to think that light 'gains' the gravitational energy by shifting to a frequency with a higher energy (blue). Is this thought correct?

And is there any method of forcing light to red-shift?

Is this the same principal where low temperature combustion is red... Higher temperature blue (stars)?