Depends on people.
I have religious friends and I can't recall even one who didn't offend me, an atheist, at least once, either intentionally or unintentionally. I have also friends who believe in God but don't subscribe to any religion and don't follow any religious rules and I never had any conflicts with them.
So I guess I could be with a believer, but not with a religious person. For causal acquaintances it would work, but not someone that close to me. Sooner or later it would cause problems.
But it could work for others.