This is already possible and common practice for user generated/ project or genre specific level editors. You can give it a try yourself and ask questions on the forums should you get stuck at some issue.
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual