I'm not sure about histamines, but animals accumulate heavy metals in their bones and teeth (including humans). Some lipid-soluble forms of metals will accumulate in fat too, like mercury in tuna or marlin.
Unfortunately there's evidence that metals like lead, arsenic, and cadmium are increasingly present in animal feeds. This is especially true in fish feed. Since farmed animals don't typically eat other farmed animals this won't have a biomagnification effect, but it's definitely happening in the wild (hence fish feed made from wild fish being especially contaminated).
The bottom line is that if you eat the bones, it'll dramatically increase the possibility of you metabolizing and storing the contaminants in your own body.
You'll be fine if you have a bit here and there. I personally believe (with no solid evidence) that this is where pasture-raised animals in most areas will be superior to feedlot livestock from who-knows-where. Heavy metals can be everywhere, but we know that they're increasingly present in feedlots. If the farmer near you has pastures, organic certification, and the cows aren't downstream from a pulp mill or landfill, chances are pretty good that it's worth the extra few dollars per pound.
Chickens end up with lead in their bones from pollution in their feed and environment. Normally, it stays in their bones and is discarded. However, extended simmering such as over 12 hours starts to release the lead. It’s a very small amount, anyhow.