In most cases its illegal to set up something inside the public org. It needs to be put out as a public offer. It's part of New public management pushed by neoliberal interests.
Post and trains already had to be privatised since them being government owned was deemed anti competitive by EU standards