There is no real reason why it shouldn't that I can see :/ I have done this a LOT of times...
You can always just add the option to the $hookParams. Do $hookParams['optionId'] = XenForo_Application::get('options')->optionId; and then get it in the template with {$optionId}.