Yes, you can do it, and after this connection the transformer will be ” Auto-transformer “, but you should be careful of the current flowing in coils.
By the way, you know that an Auto-transformer has only one coil, to which we supply the input voltage, and from which we obtain the necessary voltage to supply the load.