Yes, but the Mine specifically states "Can only be built in mountains and hills with metal ore in the ground." Which either makes it misleading, or a bug. Though I think it might just be a leftover from when these requirements didn't exist, and noone has removed these buildings yet, as I cant build the mine in some of my other non mountains regions.

The restriction on stables did not always exist, and thus older settlements can have them that would no longer be able to build them. For example I believe Hawks Hold still has the capacity to produce war horses, though I haven't trained any there for more then a year