I have never thought about heat pumps + photovoltaics before because I always see the fundamental problem that I mainly have electricity when I don't need heating anyway. In winter, when I need heating, I hardly have any photovoltaic electricity. Rather doubtful to me...
Then you should be aware that the same applies to solar thermal ;)
Both are rather a small extra income during the transitional period or on a single, really sunny day. Unless the photovoltaic system is properly large, at 20+kWp you can get a decent amount.
But in summer you have plenty of electricity to use or sell with photovoltaics. With solar thermal you have plenty of hot water. What do you do with that?