Yes, you can use a different version of Firefox with Selenium. Just make sure to download the corresponding version of geckodriver.exe from the official Selenium website.