Yes, the Time Capsule will do this without any setup differences of any kind. Once you establish a connection by entering in the Time Capsule’s drive password, then the rest is just the same as backing up the first Mac.
I have two Macs that I am backing up, and found it incredibly simple.