Dynamic "Using" clauses

Is it possible to make something like dynamic “Using” clauses (maybe with XojoScripts)?

We have a module with submodules for our framework which is used in several projects:

As you can see we also have controls in there and sometimes controls need to use modules which are not in every project.

So we would need something like:

Using ReplaceWithModule

where the value would be replaced with something (maybe the value of a constant or something like that).

Unfortunately the Using clause is pretty broken in the IDE. Whilst the compiler honours it, autocomplete does not work reliably with it at all. I would advise against it.