Unfortunately not i don't believe, not without any fancy third party products i dotn think.
your Keyboard and mouse plug into your PC rather than your monitor so it doesn't know how to split the sources to use what devices.
i know you can control more than one PC with the same keyboard and mouse using a KVM switch but i dont think it works the other way around unfortunately