Allog modular config and conditions

Alloy in Fleet Management allows use of labels to filter which configs (here pipelines) apply to which collector.

Is there a similar function when pulling the config from http or git? For example provide multiple configuration modules (application 1, application 2, database) and enable or disable them for each collector using an env variable or something similar?