Kant's second formulation of the Categorical Imperative states that
"Act in such a way that you treat humanity, whether in your own person or in the person of any other, never merely as a means to an end, but always at the same time as an end."
This formulation is derived from the primary formulation by adding another premise that "humanity is an end in itself".
Moreover according to Kant, ensuring humanity is an end in itself is the same as ensuring that the freedom of choice of one person in choosing and accomplishing their ends remains unrestricted from the actions of another thing such as inclinations/actions of a person etc.
Can it not be argued, hence, that Kantian deontological ethics is just a subset of consequentialist models which aim to maximize autonomy?