The Docker containers we provide run the current CMS code under Apache. It is 100% possible. There is no need to modify anything in the CMS code.
Yes - you can do anything with a Docker install that you “should” be doing with any other kind of install - ie you can apply a theme to it, and that theme can customise the twig files, css, images etc. You can also load middleware if needed.