Really you're limited by whatever the owner of the copywrite allows. Some don't want fan-fiction or fanart at all (Simpsons, Star Wars, etc.), others wouldn't want anything with nudity.
Most don't care as long as you're not making money, and Square seems to feel that way considering all of the FF sprite comics, and the giant amount of artist sites with FF characters.