Quite often you can wait for it to solidify before disposing of it.
This isn't quite as bad as saying "don't poop in the toilet; wait for it to dry out before putting it in the trash", but it's in the same neighborhood.
Neighborhood? It's not even in the same city. Your toilet was specifically designed to consume poop. The same cannot be said for cooking fats/oils and the sewer system.
In most places, that can be said. In places where it can't, you need a more comprehensive solution than "don't do that".