Yes, you can prime with DME. I might take a little longer, but it works fine.
You could also do it with wort, because all wort is is DME boiled in water, right? OK maybe with some hops, but.....you can prime with any fermentable sugar. The problem is ease of measurement. That's why most people either prime with corn sugar or DME.
Best of luck, and welcome to the forum!