This is now possible in XCode 16. (After 10 major versions since this question! Imagine that.)
If you create a new project using XCode 16, you get this feature by default. But if you want to convert an existing project to use this feature you can just convert the top group in your project navigator into a Folder:
The project then becomes like this: