No. Carbon credits are meant to create a market for the right to emit carbon dioxide, ideally where the total credits are fixed and reducing per year. What you're talking about are carbon offsets, which in turn increase the the total pool of credits per year. Ideally, these offsets permanently lock an equivalent amount of CO2 away in some form (permanent forests, etc.). But increasingly, they do nothing of the sort.
Your example of handling CO2 emissions from hydrogen reserves is a case in point.
Your example of handling CO2 emissions from hydrogen reserves is a case in point.