Does it allow you to creat your own ticket?
The short answer is yes. https://github.com/pretix/pretix The long answer is it's probably a bit more complicated than that.
pretix is sweet, works good and self hostable