Hi,
that is quite easily to achive :)
you need to create and register DeploymentUnitProcessor and inside your "deploy" method you can add additional module dependancies to your deployments.
for example take a look at how SarModuleDependencyProcessor is done. there are many others but this one is one of simpler ones :)
--
tomaz