Almost equal as I post in Pure Black and White the posterize effect can be made easy with the tone curve and blurs modules. Personally I don’t think a new module (posterize) is needed. Maybe using G’MIC is better for that kind of effects, and darktable must be the link between the apps.
This is a screenshot of the posterize effect.
This is another sample more aggressive



