Is it OK if your web server's document root is attacker controlled?

@glyph@mastodon.social

Is it OK if your web server's document root is attacker controlled?