Yes, sure, you are right. But you can add a strip to the header or footer. You will need to attach a logo, menu and other elements to this strip. Then you just need to hide this strip.
I don’t know what you want to build. Perhaps my example will not suit you.
But it works for me.