Daft Vader With Octopus Cosy there isn’t an option for Octopus to control your inverter, that option is really only available with Octopus Intelligent Flux.
What type of system do you have, what inverter type? This will determine how easy it is to program your inverter natively to charge in the 3 Cosy cheap-rate periods.
And what is your daily house consumption and battery capacity? If you charge in the cheap rate periods will your battery last during the day-rate periods or do you need to grid import and preserve the battery for the peak rate?
Even on a single tariff like Cosy there are several variables.
There are plenty of ways you can automate your battery charging, from the GivEnergy app/portal, use of Smart tariffs within the portal, to external paid systems like WonderWatt and My Energy Optimiser to free solutions like Octopus R&D and Home Assistant/Predbat or running your own control scripts.