Can I Add/Build a Module with only other module`s .h and dll

I find a similar solution about plugin
And My destination is use this for other moudules,not just for plugins