Hello Stéphane,
Thanks for checking with us.
Yes -- with any licensed edition of Hauptwerk (i.e. either the Advanced or Basic Editions), you can publish and/or sell recordings. (A note in the credits to the effect that Hauptwerk and the relevant sample set were used would certainly be appreciated, but that isn't a requirement.)