The wizard can do anything, but there has to be a cost and let the punishment fit the crime.
For instance, the party lacks a thief and they have a locked gate in their way. The wiz steps up and... well, there are several spells they could improvise.
Timeline One wizard demands to be bound in chains. They will be all tied up for the next ten minutes.
Timeline Two wizard is no Hoodini. They opt to trepanate their own skull to unlock a perspective where the lock is like... an illusion, man.
Timeline Three wizard plunges a key into their own palm, digging down until blood is drawn. That wound will take the hand out of comission.
Timeline Four wizard shrugs and says, we should find the key, yeah?
Timeline Five wizard read another of my posts and is considering another, inventory-based, solution...
Share good posts with good goblins. Claytonian at the gmails.