For the purposes of a theoretical marketing plan development, it doesn't really matter. You can make whatever assumptions you might like. In reality, you would need to know quite a bit more about the process than simply whether it is even possible or not.
The key to achieving this would be selecting or formulating chemicals that can undergo a change in state from solid to liquid or from a dry form to a liquid form when activated by friction or heat. Alcohol-based hand sanitizers typically contain a high percentage of alcohol as the active ingredient. Creating a stable and effective hand sanitizer product involves overcoming challenges related to the right combination of ingredients, stability, shelf-life, safety, and usability. Ensuring that the reaction occurs consistently and reliably with hand rubbing could be challenging.