Extended internal attribute?

Is there a way to extend internal namespace to cover subpackages?
The current solution is defining custom public namespace and import it in ‘root’ and ‘children’ packages, but that namespace also could be used outside of ‘root’ package.