There are no references to him at all in the source code, and there is no code to allow for any entity to act like Herobrine. There is no level terrain code to generate 2×2 tunnels or elaborate dungeons with traps.