What headunit?
I recently had mine turn on by itself, replacing the battery has so far helped with that.
On my old mk5 a dying alarm siren would bring on the stereo sometimes.
It could be many things...faulty HU, faulty CAN gateway, another faulty module, woring issue.
A VCDS scan might be a gold start.