Both .txz and .deb files are compressed archives, although Debian packages are used for a specific purpose (app for Linux). Still DEB is archive like any other, which means txz to deb conversion or rather repacking is certainly doable, the resulting files just won't work as app packages in Debian.
Updated: August 25, 2023