It’s already possible - just install the colorlog Python package, and Home Assistant will use it.
colorlog