Well, XYplorer has this functionality for many years (since 05-Oct-2009). And it also can do it for files, of course.
The commands are called "New Folders" and "New Files", both under menu Edit / New.
Note that XYplorer native variables, environment variables, and full and relative paths are supported. So you can as well state patterns like these:
MoonLanding\TopSecret\new.txt
\MarsLanding\TopSecret\new.txt
D:\Testpath\new.txt
%username%.txt
New <date yyyymmdd>.txt
Text to folders improvement