Of course, this could be useful. They probably can’t use it 1:1, but it can still serve as a good source of inspiration.
In general, the Pixelix (npub19j2…ncm0) developers need to run their own proxy relay that Web Push notifications are sent to. That relay is responsible for holding the private keys. When users enable Web Push notifications, the application should be configured to use the URL of that proxy relay.
This is exactly the same approach used by Mastodon.