There is no way in which to do what you are looking to do there unfortunately. As mentioned, we provide only the latest release of the software. I would advise doing the following
Backup fully
Disable all applications. plugins, and ensure you are on a default theme
Switch to PHP 8, and ensure you meet all requirements https://invisioncommunity.com/files/file/7046-invision-community-requirements-checker/
Upload a fresh set of files from your client area
Run the upgrader to get to the latest release
Upgrade any 3rd party items you have that are showing as needing updates, and address any which are showing incompatible with PHP 8 in the admin CP