NASA is
offering a 30,000 dollar bounty to the right idea that helps
mitigate human waste in space suits for 6 continuous days.
Maybe some genetically
modified Black Soldier Fly grubs could live in a backpack compartment
and convert body toxins into something more safe with the added bonus
of space compost.
Collecting the solid waste would be the hardest part, I imagine.
In a vacuum environment wou could simply let the moisure boil off. That would reduce the volume and kill most if not all bacteria.