This is what mailinabox does (https://mailinabox.email/) to combat spam and it has worked remarkably well. In the few years I've been running my own mail server I have received ZERO spam in my inbox.
For more info, the technique is called greylisting https://postgrey.schweikert.ch/