There are several things you need to know about your proposal:
1) In your example, you propose using a Star Wars. Star Wars is a color vector game, so the monitor is completely different than what you would find in a Pac-Man and 99% of all other classic 80's games - which are color raster. To make matters even more confusing, games by Nintendo (like Popeye, Donkey Kong, etc) from that time period used inverted video, so the monitor would need to be hooked up differently than a Pac-Man also, even though both are color raster.
2) The next problem you'd have is the wiring. Most of the early 80's games had unique wiring harnesses. This means that a Galaga, Pac-Man, Donkey Kong, Star Wars, Popeye, Moon Patrol, etc would all have completely different board connectors, and you wouldn't be able to swap board from one game into another game without an adapter of some kind.
3) Next up is power requirements. Some games need strange voltages like +28v, -5, -12, etc to work. Other's don't. If the cabinet you have doesn't supply those voltages from it's power supply, the board will not work. There are some groups of games that have the same wiring and can be swapped out - like the Konami Classic set (Gyruss, Frogger, etc) or some of the Taito sets.
4) Then you have to worry about screen orientation. Games like Star Wars and Popeye are games that are orientated horizontally. Games like Pac-Man and Donkey Kong are orientated vertically. Unless you like tilting your head sideways while playing, you won't be able to play all four in the same cab - even if you somehow solved the problems with monitor type, connectors, and power.
5) The last thing to consider is your control panel. Some games will need 4-way joysticks, some will need 2-way, some will need 8-way, and some won't use joysticks at all. Some may need a spinner or trackball. If you have a control panel with only one button, then you won't be able to play games that need two.
It's easier to install a JAMMA harness and switching power supply into your cab, and then use JAMMA adapters to play different games. Decide on what games you MOST want to play, and set up your monitor and control panel to support those. That will give you the best option of playing multiple style of games in one cab.
Or you could build a MAME cab, but please don't kill a nice older classic cabinet just for MAME....