Yes, but I really don’t recommend this…
Another way would be to add the domain to the “Header-From: Allowlist” as greylisting is disabled for those as well:
System -> Configuration -> Global filter maps
Check the box at “I will be careful!” and head over to “Header-From: Allowlist”
Add the domain like
/.+example\.com/i
Click “Validate” and then “Save changes”
The downside of this is, you have to do it in advance and you have to know the domain it’s sent from.