There is no way to add code directly to the header. This should not cause any problems for scripts or stylesheets as they can be added to body.
The only things that you can change in the header is page title, page description and list of keywords. These are set in the page web properties dialog:
Bookmarks