Combining BPMN and DMN

So to go back to my other question of not using the DMN editor to create a task and then switch to table view, but to instantly open a table view, I found this topic where you answered: Open DMN in Decision Table View and this is more or less works, so I would instantiate the editor and then run your code.

But I have another concern, can I use a similar approach like we have in bpmn-js, useService(modeling|moddle|elementRegistry) to manipulate the nodes of the DMN? For instance, wanting to bind the abovementioned key to and from my BPMN model?