This is such a quick and neat way to get a pass for all the random codes in your wallet.
I've had a long shelved project (>8 years now?) where I was working on a solution to doing this from a mobile device but with loads more customization (including image options for different slots), but the cost effectiveness thanks to the PKPass signing as you noticed, put me off to provide it as a public utility as I was a student then. This gives me motivation to revisit it.
Have a look at MakePass[0] - which sounds exactly like you describe. It allows you to design a pass as per spec.
[0] https://pvieito.com