Yes. The B-17 database at https://b17flyingfortress.de/en/b17/status/lost-by-friendly-fire/ lists ~20 B-17s known to have been destroyed by friendly fire. The majority were lost to bombs dropped from above. Probably the best known incident was the loss of Miss Donna Mae II. The bombs that struck her were captured by a Time-Life photographer. She had drifted forward from her position in the combat box formation.