A great idea. Also known as a pre registered study.
https://en.m.wikipedia.org/wiki/Preregistration_(science)