I'm not sure to fully understand your requirements correctly, but if you are asking if you can embed the process engine inside your application, the answer is yes, you can do that and then use the available tools to author and store the process diagrams.