Terraform Enterprise Module Registry: Can I store the module's source code in a subdirectory of an existing GitHub repository?

I have more than 40 Terraform modules to register in a private Terraform Enterprise module registry.

It would be difficult to create 40 GitHub repositories for each of the 40 modules I am publishing.

Is it possible to have one GitHub repository and have one sub-directory per module (means 40 directories for 40 modules) ? This way, I need to manage only one repository and have all modules in its subdirectories.