Yeah, if you assume that you can always heat the hot water with photovoltaics 365 days a year ;) Besides, at that moment you also lose the feed-in. We pay 24.5 cents per kWh and get 10 cents, so the difference is only 14.5 cents.
In summer, with wonderfully warm weather, the heat pump uses well under 1 kW. And especially in winter, when it’s colder, you basically have no power from the roof or my modulating pump runs continuously. The difference between just heating hot water when it’s needed (hot water 48°, 6K hysteresis) or only at noon will realistically not be nearly that big. Two-thirds of our hot water cycles happen during the day anyway and therefore automatically benefit from the photovoltaics, if there is power coming from the roof at that time.