If you want to split hairs about usage. Occasionally actually means you use/go/do on occasions. While sometimes means, some times. (not particularly related to specific occasions). Also I believe, sometimes is a little more frequent than occasionally. But yes, in casual speech I would say they are synonyms.
Whether the meaning of иногда is the same, I will leave to the native Russian speakers. I am curious myself.