Hacking implies a lot more than simply adding fat and sugar, and that’s all you gotta do.
In principle yes, but in reality it extends much farther than that and there is a whole industry built around this.
For example, the “Subway Sandwich smell” is something desired but not easily replicable, and is a guarded secrecy that corporate is pretty shush-shush about. It not only accentuates the flavor but can get people into the shop from blocks away.