Is it ok to use more than one <h1>?

Code:
<h1>
  <h2>
    <h3>
  <h2>
<h1>
  <h2>