It’s like putting an android apk file on your website for an app.
If you’re giving it away for free to friends, sure.
If not, how do you sell it? How do you stop people stealing it? How do people find out about it?
Obviously, you the answer is usually “you write your own installer / updater” and do your own marketing.
Maybe that’s fun, and there’s something to be said for owning the entire stack… but it’s a loooot of work and probably not a reasonable financial decision to make.