It would.
In case you have a separated /home partition you can re-install system and fix all of your issues.
So i will share a similar issue i had in system and how i re-installed it.
Make a bootable usb of an ubuntu installation
Do things normally and when you get to installation type you select the something else. You remove the old system partition and install new system on the free space you made. do not make a separated home.
When ubuntu is installed successfully you restore your old /home as your current home partition by editing the fstab
Prepare mount point
sudo mkdir /mnt/temp_home
Mount temporary
sudo mount /dev/sdXY /mnt/temp_home
sudo -H gedit /etc/fstab
Edit your fstab
Add these lines:
/dev/sdXY /home ext4 defaults 0 2
/dev/sdXY: Replace with your home partition's device identifier.
/home: Mount point where the partition should be mounted.
ext4: File system type (adjust accordingly if your partition uses a different file system).
defaults: Mount options (typically defaults is sufficient for most use cases).
0: Specifies the order of file system checks at boot (usually 0 for non-root partitions).
2: Specifies whether the file system should be backed up using dump (usually 2 for /home).
finally do a reboot.