Lol. No. You can comply with HIPAA and “anonymize” in a manner that a marketer can use to retarget, especially by combining with other data sources.
HIPAA protects you against receptionists gossiping and wholesale release of your records. Not much else.
When your doctor writes a script, that data is in the hands of a data aggregation company before your pharmacist looks at it. Every pharma rep has a report card for each doctors prescription practices as a result.
Insurance companies and others sell claim data in aggregate and so do downstream partners like subrogation services. Some states even shared Medicaid claim data to aid in targeting ads and analysis to fight opioid abuse.