Alliteration is the occurrence of the same letter or sound at the beginning of adjacent or closely connected words. Personification is the attribution of human characteristics or behavior to an animal, inanimate object, or abstraction.
In the phrase "My life a dream," the "m" sound is repeated at the beginning of the words "my" and "life." This is alliteration.
Personification is not present in this phrase.