Most items that can be composted (used on a composter for a chance to raise the level inside the composter) can also be composted by a hopper pointing into a composter, however this isn't the case for warped and crimson roots.
Comments 3
I was trying to do this in the nether while it was raining in the overworld, so maybe that's relevant
Can't reproduce