Yes, ozone is an element.
Ozone is an allotropic form of oxygen. You can read about allotropy at
O₃ consists of one kind of atom, which is oxygen. When you build with one type of atom, the whole structure is an element.
O₂, ordinary oxygen, is also made only of oxygen atoms. The two elements are allotropes of each other.