That's the case in UK politics. The 'party whip' is used, and only in uncommon cases is a 'free vote' allowed.