Can mining rewards be based on real world data
This is not really possible: other participants can not provably verify the output of the electricity meter. What if it is malfunctioning or modified by a malicious entity? Proof-of-work has the key advantage of being independently verifiable. Anyone can compute the blockhash and see that it is smaller than the target without any additional information or having to trust anyone.