yes. same with viruses too.
Yes, there is a link. Lyme disease bacteria can enter tissues of the heart and there interfere with the conduction of the electrical signals from atria to ventricles which is by physicians called "heart block". It can be mild, moderate, or severe. Heart block from Lyme carditis can progress rapidly.
This so called "Lyme carditis" occurs in 1% of the patients that have lyme disease.