Creating slots and signals on the fly is possible, but they won't allow scripting, so I don't think it would fix your problem.