Yes, this is quite easy.
I have a HDMI switch, that I can connect 4 devices to and change them with a remote. I picked it up for about £10 ($15).
You can get a HMDI/VGA switch but the cheapest one I found, and I only half ass looked because it's late, is $160.