Offhand, maybe you could run the Safari technology preview, but it’s limited to Ventura and Sonoma, so it wouldn’t help if you’re specifically looking for a way to update Safari on an older version.