Upfront, I'm not a qualified electrician.
I guess that I start from the page that I know grid power isn't perfect, and generator power is even less perfect, so a imperfections are to be expected.
I have never seen a consumer oriented line conditioner for more 20A. If you really wanted to, you could probably have a qualified electrician wire a bunch of them into your various circuits, but I doubt it will help with the flickering. They would help with electronic noise and distortion.
If you have concerns about your electronics, I think that generally nothing beats a quality online pure sine wave UPS protecting the electronics. That puts your gear behind a battery charger, battery, and an inverter, which is a bunch of isolation and noise reduction. Many also have surge suppression built in. A high quality surge suppressor strip would be my second choice, and after that, I think it mostly falls into the "don't kid yourself" category. If you can find a sufficiently large ferroresonant autotransformer, those are great, but in my experience those are tough to find these days, and they tend to be very pricey.
Light flickering is usually a voltage drop as some load kicks in. That is mostly due to the generator design (wiring in the generator head, the control for the voltage regulation, and the control for the engine speed (load) regulation). If you have things like AC units and pumps, you can get soft starters that will help a lot. Otherwise, flickers are not generally all that fixable except for replacing the generator, but some generators may have better voltage regulators available at
mini dachshund. (For example, digital controls replacing analog controls, and electrical solenoids replacing mechanical governors.) However, you can try to reduce the resistance from the load to the generator head as higher wiring resistance will make the voltage drop worse. That is fixable with lower gauge wires, and shortening up the length of the wires, and making sure that all the plugs and contacts are clean.
Whether the work and investment is worth it to you is a different story.
All the best,
Peter