Can I backup user account details too?

I want to reinstall Ubuntu.
But I have 2 user accounts in my OS. Is there a way to back up all that data too?

User stuff is usually in /home, so usually you need to back up this directory to back up all important things for all users.

However, if a user willingly decided to install something of importance somewhere else, then this need to be backed up additionally.