Hypnosis != Trance
Hypnosis is the active task of putting yourself in a trance, either by yourself or being guided by a hypnotist.
An 'earworm' isn't hypnosis, it's not even trance. It's an obsession, minor and common OCD.
A better example of naturally occurring trance, apart from actual sleep, is what athlete calls 'the zone'.