I think that would practically be a modular/scriptable stratum proxy.
An intelligent stratum proxy could do this (if stratum protocol had the algo param) and a lot more. Maybe it would be possible to use it to merged mine merged minables while mining on a regular pool.
The same proxy could maybe be used on pool side to handle coin switches.