Yes, for those with prosthetic heart valves, according to the American Dental Association and the American Heart Association:
https://www.ada.org/en/member-center/oral-health-topics/antibiotic-prophylaxis
https://www.heart.org/en/health-topics/infective-endocarditis
They used to recommend it...