My concern with this approach is that switching between versions is more difficult, and the file tree in the left panel will look messier. Would it be more difficult to add a drop-down menu? sphinx_rtd_theme seems to support it: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#confval-version_selector (or maybe this requires the doc to be hosted on readthedocs.com, then that could be an alternative)
The thing about switching between versions is that, if we want to do switching back and forth, we would need to add this feature back in the previous versions as well, to update the sidebars, which is not maintainable without recompiling everything at each release.
The versions are by default folded in the sidebars under "legacy documentations" so I dont think this will make it much messier : )