Secession of a distance duchy to improve maintenance, due to distance from capital and/or realm size, is explicitly permitted.
The forbidden strategic benefit is specifically and solely the one OOC benefit that the capital has over other cities in the realm: recruitment.