A money-saving plan to heat a swimming pool with energy from the cremation of dead bodies has been backed by a senior Government minister.