Ozone smell from an electric dryer
You would have to have a continuous arcing going on to produce ozone. It would not be ever caused by motor windings, or even the start switch in the dryer, you probably should check the dryer out but I don’t think you’re smelling ozone.
There are all kinds of smells a dryer could make, however, most common would be something in the household environment, being drawn over the heating element that can make all kinds of interesting smells that can cause concern.
And of course, the motor windings themselves could be starting to overheat from blocked air passages or insulation breakdown, which will cause them to short slightly, and start to earn the insulation on them.
John