It is all in the past as far as we are concerned, but if interviewed towards the end of 1788, he would have said, I have been living in this house for most of this year. It is taken from the perspective of the composer (and his neighbours!) back in 1788.
Is the sentence construction you mean:
A famous composer is thought to had lived in this house in 1778. ?