Yes, cameos are not limited to visual media. In literary works, authors or well-known characters from other books can appear as cameos.