Can we use Databunch in Random forest and xgboost?

HI, can we use databunch in random forest or xgboost. If not, is there an easy way to apply pre precesses like categorify or numercalize for tabular data to feed random forest and xgboost.

Thanks