I'm not 100% clear on what you are trying to do, but the usual way to handle this sort of problem in ROS is to use remapping of topics. You can also place an entire collection of nodes/topics in a namespace by putting them in a group in your launch file and setting the ns
attribute of the group.