No, but the deck is stacked in favor the house, and the house (almost) always wins -- 85-95% of the time, anyhow. That's the percentage of evangelical kids who walk away from church as soon as they leave home.
OTOH, 95% of home-schooled kids either agree with, or, more frequently, strongly agree with, the faith of their parents.
Picture two doors.
Public Schools aren’t fully to blame for those statistics.