not always, In canada Bell brands every phone regardless of its uses and are completely unlockable, cannot put on any apps that arent dl's from their website... the list goes on.
It's almost entirely the same with AT&T (all the phones they sell are branded, but the firmware-based restrictions vary a little). But the real question is... If you were to buy an unbranded, unlocked phone from a source other than Bell, does Bell prevent you from using it on their network?
If Bell
does prevent you from using it on their network, then yes, there should be a law against that. They shouldn't be able to
prevent you from using compatible equipment on their network.