They can, but Nintendo generally leaves fan projects alone unless they compete with an actual Nintendo product (see AM2R being taken down right before Samus Returns came out), are for-profit, or conflict with the Nintendo image (I think there was a gory Pokémon fan game that got taken down).