Human waste has been used as fertilizer in 3rd world & even Western countries for thousands of years.
Many women would bury the placenta after childbirth in their gardens & plants would thrive.
The use of urine as fertilizer is becoming popular again in The US with smaller gardeners, as showcased by David The Good (YT).
The problem arises with all this is if the waste is from human(s) on medication, which is then excreted as a waste product.
Here’s an example of a popular Aussie gardener currently using his home waste for gardening.