It's definitely doable but I'm not sure what kind of amperage a trickle charge pulls. You would just have to make sure that you covered the required loading (should be on your charger). But yes most solar power is basically what you are trying to do. Solar panels charge batteries for use as needed later by connected equipment.