Hello Jaime,
I think you can use existing functionality for that. Just flag the profit centers they have as a cost center as well. Then, use overhead distribution rules to spread the costs from one cost center to the other. Of course, we are talking about cost centers here, but the journal entry created will derive a prefit center and segment as well.
The same applies to overhead allocation rules.
Best regards,
Thomas