Can people that have heart bypass surgery use diphenhydramine?

Yes. Benadryl invented by dr george rieveschl of cincinnati is an incredibly safe drug.
Usually yes. Usually yes, but ask the doctor who knows your case to be sure.