You can cluster data using unsupervised random forests and then use these cluster indices as features.