There are a few that take that approach, but people usually want one in their preferred programming language/runtime. Examples:
Metalsmith (Node/JS): https://metalsmith.io/
Haunt (Guile Scheme): https://dthompson.us/projects/haunt.html
I’m sure there are many more.