Convert text to folder

Hi,
Is there a way to create a folder from a text selection? Or ideally, automatically convert an outline into a complete folder structure? Or at least, convert a note to a folder?
thank you.

This would be a file system operation.
My guess is that it would hard to implement a solution across operating systems.
But some file explorers/file managers may be able to do it for their home operating system. After all, text is just text.

Certainly, but in the mean time, it is presently possible to create a folder into Obsidian, whatever the os. That’s why I assumed it would be possible to automatize the process, maybe with a plugin like Note Refactor or so.