Google doesn’t do .pkpass IIRC. But yeah, the format is fairly straightforward, and there are a bunch of open source pkpass wallets even.