how to process 3d models in blend4web
Yes you can do this in the Web Player by leveraging the Logic Editor.
See the example 
https://www.blend4web.com/apps/webplayer/webplayer.html?load=../../assets/interactivity/inherit_material.json
The corresponding source Blender file can be found in the free SDK.