How to create directories in UI entities?

can we create directories to group entities in UI?

You can create a package, and then create screens in that package, if that is what you asked.
Each package will have its own directory.

You can also group entities and other objects by packages in Jmix tool window:
image

tnx for help