As someone still in the planning stages for my solar-battery setup, it is presently the case that from a strictly me me me financial perspective, most people will be better off exporting to grid as much as possible especially if your DNO has given you a reasonably generous export rate cap. With current incentives & pricing, it's just a natural consequence of how seasonal our solar production is. At least in Scotland you can be somewhat selfish if you want without feeling too guilty about it given how much of our overall energy mix is renewables, so it's not like you're charging your car on ~50% coal or whatever when you need to draw from the grid for it.
That said my thinking agrees with what a fair number of the people watching the industry seem to be hinting at, which is that the present situation is unlikely to continue for much longer, so your instinct to maximise self-consumption is probably right longer term. If the Warm Homes grants achieve even half of the numbers being targeted that's already a big chunk of new solar out there, not to mention all the grid-scale projects in the countryside and the increasing number of business premises putting in big solar installs - given our creaking inadequate grid infrastructure I expect we'll first see an accelleration of the trend towards "smart" tariffs like Intelligent Flux where you have to let the utility company control your battery and export being the better option, and then generally just decreasing payouts for exports in general probably with a switch to stuff more like Axle where you get paid flat rates to join temporary Virtual Power Plant configurations to provide grid balancing services.
Maximising self-consumption year round would be the ideal but sadly the only system I could find for actually capturing excess summer generation in a useful form would be building a thermal battery, which would involve digging a 5-10m3 pit in the garden and burying a huge metal vat full of sand with a metre of insulation on all sides; resistive heating elements buried in the sand to charge it to a few hundred degrees C over the summer, then using a heat pump to draw the heat out again over the rest of the year. Which is, yeah, not cheap lol