I think it would depend partially on whether the religion prohibited a certain food item because of the food itself being deemed morally wrong, or whether it was something else like a penitential practice.
For example, I am Catholic. In the Catholic Church, Fridays have customarily been days of abstaining from meat. That is not because meat is in any way considered bad, unclean, or immoral, but simply as an act of self-sacrifice as a form of penance.
Now, if a replicator could produce something that, as Riker says, is "as fresh and tasty as meat" but wasn't actually meat, I would think that would be violating the "spirit" of the act of penance, since you would be finding a way to avoid actually making the self-sacrifice.
On the other hand, several religions do not eat pork products because they have a problem with pork itself. In that case, I would think replicated bacon, for example, would be acceptable because the point is to avoid the actual food that comes from the pig, which they are doing.
For example, I am Catholic. In the Catholic Church, Fridays have customarily been days of abstaining from meat. That is not because meat is in any way considered bad, unclean, or immoral, but simply as an act of self-sacrifice as a form of penance.
Now, if a replicator could produce something that, as Riker says, is "as fresh and tasty as meat" but wasn't actually meat, I would think that would be violating the "spirit" of the act of penance, since you would be finding a way to avoid actually making the self-sacrifice.
On the other hand, several religions do not eat pork products because they have a problem with pork itself. In that case, I would think replicated bacon, for example, would be acceptable because the point is to avoid the actual food that comes from the pig, which they are doing.

