3 links have been added on this idea.
  1. Yes, it is quite possible. Urine contains organic matter, which can be converted into energy. Better yet, the process kills pathogens in the urine water, sanitizing it.
    https://www.sciencealert.com/tech-that-turns-urine-into-electricity-can-also-kill-pathogens-in-wastewater