There's really nothing stopping you from writing a `Makefile` with custom hooks

I certainly wouldn't stop you from writing a `Makefile` with custom hooks ;-)