Recommended Security Settings for Safari
This is your best hope, even if it is not perfect.
Some web sites could experience issues from the "Trackers and Websites" hiding of IP address. It is best to abandon such web sites, if alternatives exist.
macOS Ventura and macOS Sonoma
Screen shots below from macOS Ventura, also applies to macOS Sonoma and macOS Monterey. Older macOS version differ, and offer less functionality.
You might like using Apple Pay, but why would you promiscuously allow every web site to inquire?