Write the job
My traineeship was ending and the company had no job for me. So my last assignment was to write the job description for a role there. They hired me into it. A year later I saw another gap and pitched a leadership role to fill it. I got that too.
If there is no job, write it.