Only if the child is well behaved and will listen to the parents while at the open house.
It would depend on the individuals .. You would be a guest in someone else's home, so children would have to be on their best behaviour, and you would need to be able to concentrate on the many details of the house .. If in fact you are a serious buyer.
If the child is behaved, does it really matter? Maybe they should laeve their dogs behind.