Custom HealthKit samples

Is it possible to create a custom HealthKit sample type? Let's say for example I want to tack how many alcoholic beverages are consumed? Or how many times a user smokes each day?

There is not a category in HealthKit for these today is it possible for my app to add them as custom data types?