YES! And it's called Fair Housing laws. It means realtors and lenders are prohibited from giving opinions on neighborhoods, schools, demographics, places of worship or religious places, etc. Both realtors and lenders can lose their license immediately if caught. There are undercover testers throughout the U.S. who pose as buyers, sellers and renters and ask realtors specific questions to detect if they are violating Fair Housing laws.
What realtors and lenders CAN do: They are allowed to provide published articles, websites, etc. since they did not write the content - somebody else did.
Buyers and renters are told to do their own research instead of asking realtors questions on Fair Housing topics.
Briefly, if you are unfamiliar with a location, I find the Census Bureau's website gives detailed information on every neighborhood in the country. Also you will need to talk to parents, school officials, visit the local police department or go to their website, talk to people in local parks, playgrounds, Little League, grocery stores, etc. People love to talk to new buyers as long as they are not in the real estate industry.
As for the websites and other published information that realtors give you - skip it, it's totally useless. That information is based on public information. Much better to talk with local residents who actually live there + the police department.