If you’re lucky enough to have a model that supports Valetudo, reflashing the firmware with an open source alternative can alleviate some software problems:
I recently saw an announcement of a "brain replacement" project for (a specific) robotic mowers ... such an "after market" project for robotic vacuums would be great. But replacing the electronics is definitely no easy feat.