Unix timestamps (as used by touch) don'tcan go beyondbefore 1970, (thanks @slingerapp for pointing this out) but arethis is not relevant here anyway.
exiftool can be installed directly from the ExifTool Website as a standard macOS package, or via Homebrew/MacPorts. It allows to change the EXIF metadata of the picture, including the creation date. EXIF stores the same information in different tags, ideally all of them are updated to the same value.
exiftool -DateTimeOriginal="2023:01:15 12:34:56" -CreateDate="2023:01:15 12:34:56" -MediaCreateDate="2023:01:15 12:34:56" /path/to/image.jpg
PS: You need to do this before loading an image into Photos or similar. If it is already managed by Photos, export/copy it to a temporary folder, delete it in Photos, run exiftool and import it again.