Hello Marcolucid!
I think you should give your idea a try, get the dirty dmt freebase put it in a beaker with your solvent of choice stir, give it some time to dissolve (obviously it wont dissolve everything because its contaminated so you might have some gunk in the solvent/dmt solution) EXCEPT: your solvent might dissolve everything if the gunk is solube in your solvent of choice, i do not know what that gunk might be. OFC if its organic plant matter it wont dissolve but from your words i guess plant matter is not the only contaminant. After you are sure your dmt is dissolve in your solvent and (if you used heat) its cooled to room temp you might setup a filtration apparatus TIP: Coffe filters wont work!
Get some real good filters and filter your solvent/dmt solution through. And then you know what to do to get your crystals. Good Luck!
More tips: I recommend using heptane, if i was in your situation i would never use coffe filters, coffe filters is for coffe
Use some good lab grade filters, Back in the days i had to use coffe filters also for some basic fun chemical experiments and synthesis for example making luminol or fluorescein and other non illegal chemicals and i can tell you that sometimes coffe filters can be a contaminant itself. Dyes for example!