Yeah the engine will benefit from long, sustained road climbs -- but that alone cannot simulate Fast-twitch climbing muscles and the bike handling that you need to power up technical ascents.
I found that out quickly in the Pisgah mountains one year. If it's just fire road climbing you'll be fine.