Creativity happens typically without the oversight of laws, regulations, and guidelines. That is unless you live in a country where government officials look over your shoulder (they do exist). For most writers, however, you can write whatever story you want, up to a point.