You could also better and more directly accomplish what patents ostensibly do by e.g. providing zero protection to trade secrets and making NDAs covering such secrets illegal. If the goal is information sharing, then we can just not legally protect information secrecy, and legally protect or even incentivize information sharing. e.g. the NSF could provide cash bounties to individuals providing interesting trade secrets in the same way the SEC does with information about securities law violations. Let the corporation share in the bounty as long as they gave the individual employees paid time to prepare the information for release, otherwise it goes solely to the individual. Let a panel decide the value of the information.
So no, their purpose is to bestow a monopoly.
Whatever I think of your alternative idea, I don't see how you having one is somehow a verdict on the purpose of IP law.