This is definitely possible, but maybe not easy.
I'd first try writing a racket program with Scribble submodules, and
have the outer program invoke a renderer on each submodule
```
#lang racket
(module dotfile-1 scribble/???
....)
(require (rename-in 'dotfile-1 [doc doc:1]))
(???-render doc:1)
```
If that doesn't work, then I'd try making the outer module
scribble/manual and writing a function that renders one codeblock to a
file.