You can shine red light (low-energy photons) on a photovoltaic cell and use the resulting electricity to power a blue light LED (high-energy photons), so this process does not violate any physical laws, I guess?
It is possible because the temperature of a photovoltaic cell is lower than the temperature of red light radiation, so the entire system radiates both higher-energy photons (blue light) and lower-energy photons (infra-red heat radiation).