FWIW, anti-p-hacking measures are already implemented for clinical trials; they have to register expected outcomes at the beginning.
The whole value for a journal is to be able to select once the results are known because that's how you build prestige.
All you are doing in effect is to lay out a good case why journals should and probably will simply die because this level of transparency would be a great thing to have but is incompatible with the publishers model.
Another way of thinking about a journal's incentives is that, by moving the primary peer-review stage before a study has actually been conducted, you greatly expand the number of studies that a journal will interact with, which may provide a larger and more valuable role for entities like journals in world where actual publishing is a trivial matter.
Yes, hence the blockchain, which provides all that in a fairly convenient package.
You could even piggyback on any existing public blockchain, for a few fractions of a penny.
In pre-registration a trusted intermediary is used to store a read-only copy of your study design and materials, ideally including a pre-analysis plan that specifies the analysis you will run for hypothesis testing (so that we can cut P-hacking out of the picture at the same time). That intermediary can allow researchers to withdraw registrations while preserving a stub that shows everyone a registration used to be there and why it was removed.
That is how pre-registrations work on the Open Science Framework (https://osf.io), a cross-disciplinary FOSS web tool run by the Center for Open Science.
No other problem in science is more important to solve.
When I used to run a lab we used to only consider results that had been replicated in at least two unconnected labs. Everything else was just a waste of time (on average).