The short answer is yes, and the long answer is here Working with modules from Lua scripts in darktable