Yes, it’s perfectly possible. I’m sure there are lots of ways, but suppose the include file contained a global variable definition which called a constructor. In the first case the constructor would execute, and in the second it wouldn’t.
Putting a global variable definition in a header file is poor style, but it’s possible.