On KDP, I always upload EPUBs with a cover image file included, but experimentation showed it is discarded as part of the Kindle conversion process, with the separately uploaded cover used instead. (There are opinions that including a cover image and uploading one results in double cover ...