No. You cannot add tracking code on the check-out page as some unknown tracking script can break our registration code, breach a security vulnerability in the payment flow while users entering their payment details.
You can add tracking code to your home page/landing page as well as Thank you page.