I found this pretty awesome paper showing how to make MDMA from some pretty useful methods. My favorite part is Piperonal directly from piperine using ozonalysis:
But there are like 3 other methods outlined. All very approachable from an amateur setting.
Sci-Hub link and PDF attached.
Enjoy.