I have Safari signed into on two different Mac computers. Is it possible what to sync? I only want to sync passwords and not history, etc since one is a work computer and the other is personal
I use separate Apple IDs for my work and personal stuff. I recommend it strongly if your work computer is owned by your work, or if your employer can get into it. You don't want to have your personal stuff showing up there.
Note that you can now (in the new Sonoma macOS) sync passwords across separate Apple IDs. Details are here:
With iCloud Keychain, you can keep your passwords (and other secure information) updated across your devices and shared with the people that you trust.