Yes, you should be able to reinstall TFS and just point it at the database during configuration. When you reinstall, you should be able to choose the "Application Tier Only" configuration option, which will ask you to point it to the correct databases.
I'd recommend backing up your TFS databases first as a precaution, but you should be doing that already!