yes its quite straight forward.
tax it online, set up DD, start using it, when you want to stop, sorn the car (you cannot sorn in advance) then cancel the DD by contacting the bank.
remember some direct debits need notice to cancel, so if you sorn on the 31st and the DD amount comes out on the 1st, chances are they payment will still be made, although it will be refunded.