The short answer is YES.
This is not a good solution, but it will certainly work.
People usually answer these questions theoretically, for example, "no, because it does not meet the standards." This is true, it is not. Future browsers may not support it, some source parsers may get confused, HR / IT specialists who check your portfolio may think that you know less than John Snow, and all sorts of bad things. In theory. But this happens in the real world, and browsers are not stupid: they know what you mean, they will use head tags and work as expected.
And this is no coincidence.
They have very good reasons:
1. The title is optional. (see notes under the article!)
Browsers accept content similar to the title, even outside it, so in fact they completely ignore the tag itself. And if they ignore one thing, they will probably also ignore a few.
2. Visitors are precious.
Browsers want you to enjoy your time. They want to show you the best page they can make up from the mess they have. They want to show you how the Internet works, and not how bad your favorite site is. If they can figure out what the HTML wants to express (and there is no deadly ambiguity in the structure), they will do their best to fix the page.
3. Poor markup tolerance is a thing.
Browsers are not just patient and forgiving, but sometimes they take acrobatic steps to make your stuff work. Look at this terrible mess:
<head> <style> body {background:#002233;} </style> </head> <head> <style> body {color:white} </style> See this text?<br> With the background AND color properly set?<br> <br> Your browser quite a badass.
About browser tolerance, there is much more with ugly examples - make sure you forget everything you saw when you returned!)
So yes, of course, the principle of "be a good friend of your browser", no matter how smartly it corrects your mistakes. But if you wake up in a dark dungeon with hungry lions around, and your only way out is to use two tags & lt; head> - well, feel free! This is not broken syntax, this is not a serious violation of HTML5 rules - it is nothing more than a convenient cheat. And do not succumb to the widespread myth that non-standard, inaccurate sites thrive much worse: people usually just don’t know for sure and want to stay on the safe side. As a rule, they describe hell as the place where web authors who fail the validator go to.
TLDR: in practice, two head tags work.
Now, please use only one option.
ADDITIONAL NOTES
As @StanislavBerkov pointed out, both W3C and MDN assume that the HEAD tag is implied, that is, it is probably better to just leave the head tag completely. I would not recommend this approach if you have a standard use case for only one of them, but obviously it is better not to have one, but two. The documentation is not very clear on this topic, so make sure you test everything in the main browsers - but again, in practice, you will not have any problems.