I wondered about that too. Looking for migration between Ubuntu&Debian on the web it seems like people say: "Don't do it"
Theoretically you could change the apt sources and try. But might be quite risky.
I even would rather go on a Debian derivat but not the original one.