In principle, you can use any hard drive for Raid 1. Since the data is mirrored 1:1, everything continues with the good hard drive if one fails. In my opinion, it doesn't really matter if you do it with cheap desktop hard disks.
For Raid 5 or similar, however, I would take a closer look at the "Nonrecoverable Read Errors" and "Mean Time Between Failures" rates.