Hi,
Please tell me why you cannot say "I have eaten a fruit" You can say it, but it will sound very odd to a native speaker.
when you don't want to specify which fruit (one??) you have eaten? Why don't you want to specify? Is it a secret?
That's partly why it sounds unnatural.
Best wishes, Clive