Using Dynamic Options in forms to load data from proccess variables

The docs only describe an option for populating form options (for fields like Select and Radio checklist) dynamically by pointing to input properties/ form variables.

Is there a way to populate field options using process variables as a source instead? I tried to achieve this and when I try to visualize the populated form inside the cockpit I get an error that says n.value.every is not a function