Detect and create custom language module (project from existing sources /version control)

Whenever I open a folder or check out a project intellij creates a Java module for that workspace. Is there any way I can intercept this step and detect that this folder/project uses a different language and build system and create the correct type of module instead of the java module.

I have implemented projectOpenProcessors but this only shows a small notification after a java module/project has been created, and while it lets me set up the project correctly if the user clicks “load“ it does have some issues like name conflict with the existing (unnecessary created) java module that i would like to avoid.