If you want to use Time Machine on one Mac & share that disk it to to others you need to use OS X server. I doubt you want to run that on your 'day to day' iMac.
https://www.apple.com/osx/server/
A Time Capsule is designed to share one backup disk across multiple Macs. Time Machine with a disk attached to Mac is intended for that Mac only without the server.
File syncing is not really built into Mac OS (at least not in a simple to configure 'GUI way'), you will need to investigate applications that can be set to sync folders. Chronosync is one application. http://econtechnologies.com/
You will need to enable file sharing on the Mac that you want to copy onto & then connect to it via the network.
How to connect with File Sharing on your Mac - Apple Support
Chronosync can use 'network shares'.
Syncing files isn't trivial - you have to consider if you aways want the latest version of files. If dates are out of sync you can overwrite newer documents, backup before you sync is my advice. If you try to sync everything it can get messy (preferences & cache files etc should be excluded or synced via iCloud) - be selective if you create your own system.
Another option is to use a service like Dropbox. That way you can allow files to sync via the internet, provided the iMac is on it will download the latest changes & stuff them into it's Time Machine backup. iCloud drive is another possibility. It depends on the file sizes & your mobile network connection if you plan to sync via the internet.
Do you already have a network setup or are you hoping to setup a router/ switch/ wifi etc?