Yes, you can. (I back up my MacBook Pro with it.) The TimeMachine integrated in the system can be used for backups. Before using it, I always delete the hard disk with Disk Utility so that it is really empty. (Settings: GUID as partition scheme, formatted as APFS).