This is apparently not uncommon with various types of dementia.
It is just one of those strange and disturbing things that carers may have to get used to.
Sometimes these things come and go. My wife used to do it but rarely does now. In fact, she tends not to talk about herself, except in the imaginary conversations she is very often involved in when she uses the first person.