Yes โ and it has been measured.
In a small study, people asked to do a dull task first, like copying numbers from a phone book, went on to invent more uses for an everyday object than people who skipped the boring warm-up. A little emptiness seems to prime the mind to wander toward new ideas.