Actually, it's not hard at all to make that happen. You just have to make sure that the cat has not been taught to chase mice (yes, that's a learned behavior, kittens learn it from observing other cats) and a mouse that has not learned to be afraid of cats (again, it's learned from observing other mice). There are lots of country families where the dogs get along just fine with the barn cats.
ZV