At the moment the ODX server is quite stand-alone. There is no way to execute ODX task as part of package execution. project execution will carry on regardless if the odx task has successfully executed or not.
One possible solution would be to add all ODX task as 'External Executables'
In this way you can add the ODX task to the project's execution module